summaryrefslogtreecommitdiffstats
path: root/mm/swapfile.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2008-04-28 11:33:07 +0200
committerIngo Molnar <mingo@elte.hu>2008-05-05 23:56:18 +0200
commit712555ee4f873515612f89554ad1a3fda5fa887e (patch)
tree88ff7222727c63959eb58a3aa729029aaf08a64f /mm/swapfile.c
parent690229a0912ca2fef8b542fe4d8b73acfcdc6e24 (diff)
downloadkernel-crypto-712555ee4f873515612f89554ad1a3fda5fa887e.tar.gz
kernel-crypto-712555ee4f873515612f89554ad1a3fda5fa887e.tar.xz
kernel-crypto-712555ee4f873515612f89554ad1a3fda5fa887e.zip
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 <ego@in.ibm.com> Cc: Paul Jackson <pj@sgi.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'mm/swapfile.c')
0 files changed, 0 insertions, 0 deletions