Gregory Haskins 08f503b0c0 keep rd->online and cpu_online_map in sync
It is possible to allow the root-domain cache of online cpus to
become out of sync with the global cpu_online_map.  This is because we
currently trigger removal of cpus too early in the notifier chain.
Other DOWN_PREPARE handlers may in fact run and reconfigure the
root-domain topology, thereby stomping on our own offline handling.

The end result is that rd->online may become out of sync with
cpu_online_map, which results in potential task misrouting.

So change the offline handling to be more tightly coupled with the
global offline process by triggering on CPU_DYING intead of
CPU_DOWN_PREPARE.

Signed-off-by: Gregory Haskins <ghaskins@novell.com>
Cc: Gautham R Shenoy <ego@in.ibm.com>
Cc: "Siddha, Suresh B" <suresh.b.siddha@intel.com>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-03-11 14:02:58 +01:00
..
2008-03-04 07:59:54 -08:00
2008-01-07 14:55:37 -08:00
2008-02-14 21:13:33 -08:00
2008-03-01 07:16:06 -05:00
2007-10-21 02:37:45 -04:00
2008-02-14 21:13:33 -08:00
2008-03-05 17:53:33 -08:00
2007-10-18 14:37:24 -07:00
2008-03-08 11:54:00 -08:00
2008-02-14 21:13:33 -08:00
2008-01-25 21:08:29 +01:00
2007-07-16 09:05:50 -07:00
2008-02-14 21:13:32 -08:00
2008-01-25 21:08:34 +01:00
2008-02-08 09:22:39 -08:00
2008-02-08 09:22:31 -08:00
2008-02-08 09:22:31 -08:00
2008-02-26 07:42:37 -08:00
2008-01-25 21:08:24 +01:00
2008-02-13 16:21:18 -08:00
2008-01-25 21:08:24 +01:00
2008-02-06 10:41:07 -08:00
2008-03-07 16:42:59 +01:00
2007-07-16 09:05:50 -07:00
2008-03-04 07:59:54 -08:00
2008-01-30 13:31:20 +01:00
2008-02-06 10:41:02 -08:00
2008-02-06 10:41:08 -08:00
2008-02-05 09:44:07 -08:00
2008-02-08 09:22:29 -08:00
2008-02-08 09:22:39 -08:00
2008-02-08 09:22:31 -08:00
2008-02-08 09:22:31 -08:00