]> git.neil.brown.name Git - history.git/commit
[PATCH] Hotplug CPUs: Make Migration Thread Handle CPUs Going
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 19 Mar 2004 00:03:25 +0000 (16:03 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 19 Mar 2004 00:03:25 +0000 (16:03 -0800)
commiteac9256c17c3ea2609c3b1ad682c59b026be12e7
treec861601747e216cc4cefac7dc0b2371c403ce23a
parente7243e1bdcb10e5f7edad7129390159cba999d44
[PATCH] Hotplug CPUs: Make Migration Thread Handle CPUs Going

Change the migration thread to directly use its cpu arg, rather than
smp_processor_id(): if a cpu goes up then down rapidly, it can be on
the wrong cpu just before it is stopped.

Add code to stop the migration thread on CPU_DEAD and CPU_UP_CANCELED.

Remove the (bogus) priority of the notifier.
kernel/sched.c