aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched/fair.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index 7f0a5e6cdae0..9b3fe1cd8f40 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -5151,7 +5151,7 @@ static int should_we_balance(struct lb_env *env)
5151 * First idle cpu or the first cpu(busiest) in this sched group 5151 * First idle cpu or the first cpu(busiest) in this sched group
5152 * is eligible for doing load balancing at this and above domains. 5152 * is eligible for doing load balancing at this and above domains.
5153 */ 5153 */
5154 return balance_cpu != env->dst_cpu; 5154 return balance_cpu == env->dst_cpu;
5155} 5155}
5156 5156
5157/* 5157/*