aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 17de1956ddad..9855e87d671a 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -1120,7 +1120,7 @@ static bool load_too_imbalanced(long orig_src_load, long orig_dst_load,
1120 old_imb = orig_dst_load * 100 - orig_src_load * env->imbalance_pct; 1120 old_imb = orig_dst_load * 100 - orig_src_load * env->imbalance_pct;
1121 1121
1122 /* Would this change make things worse? */ 1122 /* Would this change make things worse? */
1123 return (old_imb > imb); 1123 return (imb > old_imb);
1124} 1124}
1125 1125
1126/* 1126/*