Skip to content

Commit b55ee28

Browse files
committed
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()
2 parents 8b19e34 + b0cff9d commit b55ee28

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎kernel/sched/fair.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5151,7 +5151,7 @@ static int should_we_balance(struct lb_env *env)
51515151
* First idle cpu or the first cpu(busiest) in this sched group
51525152
* is eligible for doing load balancing at this and above domains.
51535153
*/
5154-
return balance_cpu != env->dst_cpu;
5154+
return balance_cpu == env->dst_cpu;
51555155
}
51565156

51575157
/*

0 commit comments

Comments
 (0)