Re: [PATCH 01/14] Introduce cpu_enabled_map and friends

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Matthew Wilcox <matthew@...>, Andi Kleen <andi@...>, <linux-kernel@...>, <linux-arch@...>, <linux-acpi@...>, <linux-ia64@...>
Date: Tuesday, July 15, 2008 - 9:11 pm

* Russell King <rmk+lkml@arm.linux.org.uk>:

I experimented today with an ia64-only solution, keeping track of
'present' vs 'enabled' vs 'online' all in arch-specific code.

The arch-specific stuff turns out to be more or less a wash; that
is, it's not too hard to keep it all in ia64.

However, the problem is, I would still need a generic
'enabled_map' to control whether 'online' and 'crash_notes'
entries get created for /sys/devices/system/cpu/cpuN/.

So if other archs are at least neutral on this class of CPUs, I
can work on another patchset that lowers the tax to a simple
#define for archs that don't care.

But if people hate this idea of a new map, I'd like to know so
that I'm not wasting my time and can work on a different solution
(what that would be, I have no idea at the moment).

Thanks.

/ac

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 00/14] Introduce cpu_enabled_map and friends, Alex Chiang, (Mon Jul 14, 10:33 pm)
[PATCH 11/14] x86: Populate cpu_enabled_map, Alex Chiang, (Mon Jul 14, 10:56 pm)
Re: [PATCH 11/14] x86: Populate cpu_enabled_map, H. Peter Anvin, (Fri Jul 18, 4:00 pm)
Re: [PATCH 11/14] x86: Populate cpu_enabled_map, Alex Chiang, (Fri Jul 18, 7:06 pm)
[PATCH 07/14] [POWERPC] Populate cpu_enabled_map, Alex Chiang, (Mon Jul 14, 10:34 pm)
Re: [PATCH 07/14] [POWERPC] Populate cpu_enabled_map, Benjamin Herrenschmidt, (Tue Jul 15, 1:51 am)
Re: [PATCH 07/14] [POWERPC] Populate cpu_enabled_map, Alex Chiang, (Tue Jul 15, 9:04 pm)
[PATCH 01/14] Introduce cpu_enabled_map and friends, Alex Chiang, (Mon Jul 14, 10:33 pm)
Re: [PATCH 01/14] Introduce cpu_enabled_map and friends, Matthew Wilcox, (Mon Jul 14, 11:15 pm)
Re: [PATCH 01/14] Introduce cpu_enabled_map and friends, Russell King, (Tue Jul 15, 6:21 am)
Re: [PATCH 01/14] Introduce cpu_enabled_map and friends, Matthew Wilcox, (Tue Jul 15, 2:16 pm)
Re: [PATCH 01/14] Introduce cpu_enabled_map and friends, Russell King, (Tue Jul 15, 2:48 pm)
Re: [PATCH 01/14] Introduce cpu_enabled_map and friends, Alex Chiang, (Tue Jul 15, 9:11 pm)
Re: [PATCH 01/14] Introduce cpu_enabled_map and friends, Russell King, (Fri Jul 18, 5:44 pm)
[PATCH 12/14] [IA64] Populate and use cpu_enabled_map, Alex Chiang, (Mon Jul 14, 10:34 pm)
[PATCH 09/14] [SH] Populate cpu_enabled_map, Alex Chiang, (Mon Jul 14, 10:34 pm)
[PATCH 08/14] [S390] Populate cpu_enabled_map, Alex Chiang, (Mon Jul 14, 10:34 pm)
[PATCH 06/14] [PARISC] Populate cpu_enabled_map, Alex Chiang, (Mon Jul 14, 10:34 pm)
[PATCH 05/14] [MIPS] Populate cpu_enabled_map, Alex Chiang, (Mon Jul 14, 10:34 pm)
[PATCH 04/14] [ARM] Populate cpu_enabled_map, Alex Chiang, (Mon Jul 14, 10:34 pm)
[PATCH 03/14] [ALPHA] Populate cpu_enabled_map, Alex Chiang, (Mon Jul 14, 10:33 pm)
[PATCH 02/14] [M32R] Populate cpu_enabled_map, Alex Chiang, (Mon Jul 14, 10:33 pm)