diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-12 10:44:13 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-12 10:44:13 -0700 |
commit | b55ee2816ed6d8f8a00d4badab0e3642ffbac19f (patch) | |
tree | 8923b88f34f8e24e5b65a0f5aa8a366127fcdc6a | |
parent | 8b19e34188a32d63a7da94ea8a3f5e39b0c66050 (diff) | |
parent | b0cff9d88ce2f3030f73138078c5b1019f17e1cc (diff) | |
download | op-kernel-dev-b55ee2816ed6d8f8a00d4badab0e3642ffbac19f.zip op-kernel-dev-b55ee2816ed6d8f8a00d4badab0e3642ffbac19f.tar.gz |
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()
-rw-r--r-- | kernel/sched/fair.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } /* |