]> git.baikalelectronics.ru Git - kernel.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)
commitbaf13f46609b122f3ade5b918119b7a78413652f
tree5935add4d4cd426b5b824474b7ec2ffea48d2951
parentb51135e65e4fb68d596d3dc1413435eb0855e2d4
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