From: Peter Zijlstra Date: Mon, 16 Nov 2009 09:28:09 +0000 (+0100) Subject: sched: Sched_rt_periodic_timer vs cpu hotplug X-Git-Tag: v2.6.33-rc1~398^2~8^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=047106adcc85e3023da210143a6ab8a55df9e0fc;p=pandora-kernel.git 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 Signed-off-by: Peter Zijlstra Acked-by: Heiko Carstens Cc: Gregory Haskins Cc: Siddha Suresh B Cc: Martin Schwidefsky LKML-Reference: <1258363873.26714.83.camel@laptop> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed