aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2009-11-16 09:28:09 +0000
committerIngo Molnar <[email protected]>2009-11-16 09:46:27 +0000
commit047106adcc85e3023da210143a6ab8a55df9e0fc (patch)
treedd92c3c65229622bed4b27c60f7d617c9dbf1a2a /fs/proc/array.c
parentsched, kvm: Fix race condition involving sched_in_preempt_notifers (diff)
downloadkernel-047106adcc85e3023da210143a6ab8a55df9e0fc.tar.gz
kernel-047106adcc85e3023da210143a6ab8a55df9e0fc.zip
sched: Sched_rt_periodic_timer vs cpu hotplug
Heiko reported a case where a timer interrupt managed to reference a root_domain structure that was already freed by a concurrent hot-un-plug operation. Solve this like the regular sched_domain stuff is also synchronized, by adding a synchronize_sched() stmt to the free path, this ensures that a root_domain stays present for any atomic section that could have observed it. Reported-by: Heiko Carstens <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> Acked-by: Heiko Carstens <[email protected]> Cc: Gregory Haskins <[email protected]> Cc: Siddha Suresh B <[email protected]> Cc: Martin Schwidefsky <[email protected]> LKML-Reference: <1258363873.26714.83.camel@laptop> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions