]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
cpu hotplug: adjust root-domain->online span in response to hotplug event
authorGregory Haskins <ghaskins@novell.com>
Sat, 8 Mar 2008 05:10:15 +0000 (00:10 -0500)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 9 Mar 2008 17:05:14 +0000 (10:05 -0700)
commit393d94d98b19089ec172566e23557997931b137e
tree62154269fd93690ffc07ad885cf371542b04ecc5
parent6efcae460186c0c1c94afff58a92784e1fc0d10b
cpu hotplug: adjust root-domain->online span in response to hotplug event

We currently set the root-domain online span automatically when the
domain is added to the cpu if the cpu is already a member of
cpu_online_map.

This was done as a hack/bug-fix for s2ram, but it also causes a problem
with hotplug CPU_DOWN transitioning.  The right way to fix the original
problem is to actually respond to CPU_UP events, instead of CPU_ONLINE,
which is already too late.

This solves the hung reboot regression reported by Andrew Morton and
others.

Signed-off-by: Gregory Haskins <ghaskins@novell.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/sched.c