Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull scheduler fix from Ingo Molnar: "Performance regression fix" * 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: sched: Fix load balancing performance regression in should_we_balance()
This commit is contained in:
commit
b55ee2816e
|
@ -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
|
* First idle cpu or the first cpu(busiest) in this sched group
|
||||||
* is eligible for doing load balancing at this and above domains.
|
* is eligible for doing load balancing at this and above domains.
|
||||||
*/
|
*/
|
||||||
return balance_cpu != env->dst_cpu;
|
return balance_cpu == env->dst_cpu;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue