sched: Clean up ttwu() rq locking
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 27 Nov 2009 14:44:43 +0000 (15:44 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 9 Dec 2009 09:03:04 +0000 (10:03 +0100)
commitab19cb23313733c55e0517607844b86720b35f5f
tree0d6780ab6d1e1e97b624e978ed3418e5786646d4
parent5afcdab706d6002cb02b567ba46e650215e694e8
sched: Clean up ttwu() rq locking

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>
kernel/sched.c