sched: Add a lock break for PREEMPT=y
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Thu, 17 Dec 2009 17:10:09 +0000 (18:10 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 21 Jan 2010 12:40:13 +0000 (13:40 +0100)
commitbaa8c1102f0cd86e69c1497d61d2ee177e663663
treed87729687336b8f4c1e4e08a34f84587d073eaf4
parent230059de77a4e0f6afba98073e73bc9fd471506e
sched: Add a lock break for PREEMPT=y

Since load-balancing can hold rq->locks for quite a long while, allow
breaking out early when there is lock contention.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched_fair.c