kernel_optimize_test/kernel/power
Rafael J. Wysocki e3920fb42c [PATCH] Disable CPU hotplug during suspend
The current suspend code has to be run on one CPU, so we use the CPU
hotplug to take the non-boot CPUs offline on SMP machines.  However, we
should also make sure that these CPUs will not be enabled by someone else
after we have disabled them.

The functions disable_nonboot_cpus() and enable_nonboot_cpus() are moved to
kernel/cpu.c, because they now refer to some stuff in there that should
better be static.  Also it's better if disable_nonboot_cpus() returns an
error instead of panicking if something goes wrong, and
enable_nonboot_cpus() has no reason to panic(), because the CPUs may have
been enabled by the userland before it tries to take them online.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-09-26 08:48:59 -07:00
..
console.c [PATCH] Fix build failure in recent pm_prepare_* changes. 2006-02-07 16:12:33 -08:00
disk.c [PATCH] Disable CPU hotplug during suspend 2006-09-26 08:48:59 -07:00
Kconfig [PATCH] prevent swsusp with PAE 2006-09-06 11:00:02 -07:00
main.c [PATCH] Disable CPU hotplug during suspend 2006-09-26 08:48:59 -07:00
Makefile [PATCH] Disable CPU hotplug during suspend 2006-09-26 08:48:59 -07:00
pm.c [PATCH] remove kernel/power/pm.c:pm_unregister_all() 2006-07-12 16:09:08 -07:00
power.h [PATCH] swsusp: struct snapshot_handle cleanup 2006-09-26 08:48:58 -07:00
poweroff.c [PATCH] Use kernel_power_off in sysrq-o 2005-07-26 14:35:43 -07:00
process.c [PATCH] Make suspend possible with a traced process at a breakpoint 2006-08-06 08:57:45 -07:00
snapshot.c [PATCH] swsusp: struct snapshot_handle cleanup 2006-09-26 08:48:58 -07:00
swap.c [PATCH] swsusp: read speedup 2006-09-26 08:48:58 -07:00
swsusp.c Revert "swsusp special saveable pages support" commits 2006-06-25 18:41:00 -07:00
user.c [PATCH] Disable CPU hotplug during suspend 2006-09-26 08:48:59 -07:00