Re: [PATCH] sched: release buddies on yield
From: Ingo Molnar
Date: Tue Nov 11 2008 - 05:58:23 EST
* Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> 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@xxxxxxxxx>
> Tested-by: Lin Ming <ming.m.lin@xxxxxxxxx>
> ---
> kernel/sched_fair.c | 17 ++++++++++++-----
> 1 files changed, 12 insertions(+), 5 deletions(-)
applied to tip/sched/urgent, thanks guys!
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/