diff options
author | Ashok Raj <ashok.raj@intel.com> | 2005-06-25 17:55:00 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-25 19:24:30 -0400 |
commit | 76e4f660d9f4c6d1bb473f72be2988c35eaca948 (patch) | |
tree | 3a0b3ae0cc12d6f0d96bf1f3b564f8470e0f72ae /arch/x86_64/Kconfig | |
parent | e6982c671c560da4a0bc5c908cbcbec12bd5991d (diff) |
[PATCH] x86_64: CPU hotplug support
Experimental CPU hotplug patch for x86_64
-----------------------------------------
This supports logical CPU online and offline.
- Test with maxcpus=1, and then kick other cpu's off to test if init code
is all cleaned up. CONFIG_SCHED_SMT works as well.
- idle threads are forked on demand from keventd threads for clean startup
TBD:
1. Not tested on a real NUMA machine (tested with numa=fake=2)
2. Handle ACPI pieces for physical hotplug support.
Signed-off-by: Ashok Raj <ashok.raj@intel.com>
Acked-by: Andi Kleen <ak@muc.de>
Acked-by: Zwane Mwaikambo <zwane@arm.linux.org.uk>
Signed-off-by: Shaohua.li<shaohua.li@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/x86_64/Kconfig')
-rw-r--r-- | arch/x86_64/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/x86_64/Kconfig b/arch/x86_64/Kconfig index db259757dc8a..92f5a5266023 100644 --- a/arch/x86_64/Kconfig +++ b/arch/x86_64/Kconfig | |||
@@ -313,6 +313,15 @@ config NR_CPUS | |||
313 | This is purely to save memory - each supported CPU requires | 313 | This is purely to save memory - each supported CPU requires |
314 | memory in the static kernel configuration. | 314 | memory in the static kernel configuration. |
315 | 315 | ||
316 | config HOTPLUG_CPU | ||
317 | bool "Support for hot-pluggable CPUs (EXPERIMENTAL)" | ||
318 | depends on SMP && HOTPLUG && EXPERIMENTAL | ||
319 | help | ||
320 | Say Y here to experiment with turning CPUs off and on. CPUs | ||
321 | can be controlled through /sys/devices/system/cpu/cpu#. | ||
322 | Say N if you want to disable CPU hotplug. | ||
323 | |||
324 | |||
316 | config HPET_TIMER | 325 | config HPET_TIMER |
317 | bool | 326 | bool |
318 | default y | 327 | default y |