lkml.org 
[lkml]   [2013]   [Sep]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [performance regression, bisected] scheduler: should_we_balance() kills filesystem performance
On Tue, Sep 10, 2013 at 01:47:59PM +0900, Joonsoo Kim wrote:
> diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
> index 7f0a5e6..9b3fe1c 100644
> --- a/kernel/sched/fair.c
> +++ b/kernel/sched/fair.c
> @@ -5151,7 +5151,7 @@ static int should_we_balance(struct lb_env *env)
> * First idle cpu or the first cpu(busiest) in this sched group
> * is eligible for doing load balancing at this and above domains.
> */
> - return balance_cpu != env->dst_cpu;
> + return balance_cpu == env->dst_cpu;
> }

Duh.. /me kicks himself for not seeing that.

Thanks!


\
 
 \ /
  Last update: 2013-09-10 10:21    [W:0.349 / U:0.444 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site