aboutsummaryrefslogtreecommitdiff
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorGregory Haskins <[email protected]>2008-03-10 17:59:11 -0400
committerIngo Molnar <[email protected]>2008-03-11 14:02:58 +0100
commit08f503b0c089968b2542659a89dfd50c5c59bb0b (patch)
tree0a88cc425c2c213a2e6384f4df0739e2e8485e8f /fs/jbd2/commit.c
parent1f94ef598e8d29b92b9fc85d43c832e03721d3cb (diff)
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 <[email protected]> Cc: Gautham R Shenoy <[email protected]> Cc: "Siddha, Suresh B" <[email protected]> Cc: "Rafael J. Wysocki" <[email protected]> Cc: Andrew Morton <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions