summaryrefslogtreecommitdiffstats
path: root/kernel/srcu.c
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@tv-sign.ru>2007-10-16 23:30:56 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-17 08:43:03 -0700
commitd2da272a4e581e831e3567a37ef167686f1ea1d3 (patch)
tree4afa26683994ed19086578a23ae6db688867f176 /kernel/srcu.c
parentf7b4cddcc5aca03e80e357360c9424dfba5056c2 (diff)
downloadop-kernel-dev-d2da272a4e581e831e3567a37ef167686f1ea1d3.zip
op-kernel-dev-d2da272a4e581e831e3567a37ef167686f1ea1d3.tar.gz
migration_call(CPU_DEAD): use spin_lock_irq() instead of task_rq_lock()
Change migration_call(CPU_DEAD) to use direct spin_lock_irq() instead of task_rq_lock(rq->idle), rq->idle can't change its task_rq(). This makes the code a bit more symmetrical with migrate_dead_tasks()'s path which uses spin_lock_irq/spin_unlock_irq. 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 'kernel/srcu.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud