]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sched: release buddies on yield
authorPeter Zijlstra <peterz@infradead.org>
Tue, 11 Nov 2008 10:52:33 +0000 (11:52 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 11 Nov 2008 10:57:22 +0000 (11:57 +0100)
commit2002c69595a092518107f7e3c1294c9710bc92ae
tree5935add4d4cd426b5b824474b7ec2ffea48d2951
parentad474caca3e2a0550b7ce0706527ad5ab389a4d4
sched: release buddies on yield

Clear buddies on yield, so that the buddy rules don't schedule them
despite them being placed right-most.

This fixed a performance regression with yield-happy binary JVMs.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Tested-by: Lin Ming <ming.m.lin@intel.com>
kernel/sched_fair.c