Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b55ee281 authored by Linus Torvalds's avatar Linus Torvalds
Browse files

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()
parents 8b19e341 b0cff9d8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}

/*