]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sched: Clean up ttwu() rq locking
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 27 Nov 2009 14:44:43 +0000 (15:44 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Sep 2010 20:17:58 +0000 (13:17 -0700)
commit7b8a5273c87b4229bb83bbb1282424e2af0af214
tree37315367526079330115644d831662678db15eda
parent55eedcb291d0c7dd1a56090f72c80360fbb40d2f
sched: Clean up ttwu() rq locking

commit ab19cb23313733c55e0517607844b86720b35f5f upstream

Since set_task_clock() doesn't rely on rq->clock anymore we can simplyfy
the mess in ttwu().

Optimize things a bit by not fiddling with the IRQ state there.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Mike Galbraith <efault@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
kernel/sched.c