summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@tv-sign.ru>2007-10-17 08:30:56 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-17 17:43:03 +0200
commitf7b4cddcc5aca03e80e357360c9424dfba5056c2 (patch)
treeaf2eae61dcd0311a4c51dc7398e9d0f049f37367 /ipc
parentmd: make sure read errors are auto-corrected during a 'check' resync in raid1 (diff)
downloadlinux-f7b4cddcc5aca03e80e357360c9424dfba5056c2.tar.xz
linux-f7b4cddcc5aca03e80e357360c9424dfba5056c2.zip
do CPU_DEAD migrating under read_lock(tasklist) instead of write_lock_irq(tasklist)
Currently move_task_off_dead_cpu() is called under write_lock_irq(tasklist). This means it can't use task_lock() which is needed to improve migrating to take task's ->cpuset into account. Change the code to call move_task_off_dead_cpu() with irqs enabled, and change migrate_live_tasks() to use read_lock(tasklist). This all is a preparation for the futher changes proposed by Cliff Wickman, see http://marc.info/?t=117327786100003 Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru> Cc: Cliff Wickman <cpw@sgi.com> Cc: Gautham R Shenoy <ego@in.ibm.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Srivatsa Vaddagiri <vatsa@in.ibm.com> Cc: Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions