From: Heiko Carstens Date: Mon, 28 Apr 2008 09:33:07 +0000 (+0200) Subject: sched: fix missing locking in sched_domains code X-Git-Tag: v2.6.26-rc2~62^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=712555ee4f873515612f89554ad1a3fda5fa887e;p=pandora-kernel.git sched: fix missing locking in sched_domains code Concurrent calls to detach_destroy_domains and arch_init_sched_domains were prevented by the old scheduler subsystem cpu hotplug mutex. When this got converted to get_online_cpus() the locking got broken. Unlike before now several processes can concurrently enter the critical sections that were protected by the old lock. So use the already present doms_cur_mutex to protect these sections again. Cc: Gautham R Shenoy Cc: Paul Jackson Signed-off-by: Heiko Carstens Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed