aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sched.c')
-rw-r--r--kernel/sched.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 8b035a8b3c30..f665de34ed82 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -1877,15 +1877,9 @@ nextgroup:
1877 1877
1878 /* Get rid of the scaling factor, rounding down as we divide */ 1878 /* Get rid of the scaling factor, rounding down as we divide */
1879 *imbalance = *imbalance / SCHED_LOAD_SCALE; 1879 *imbalance = *imbalance / SCHED_LOAD_SCALE;
1880
1881 return busiest; 1880 return busiest;
1882 1881
1883out_balanced: 1882out_balanced:
1884 if (busiest && (idle == NEWLY_IDLE ||
1885 (idle == SCHED_IDLE && max_load > SCHED_LOAD_SCALE)) ) {
1886 *imbalance = 1;
1887 return busiest;
1888 }
1889 1883
1890 *imbalance = 0; 1884 *imbalance = 0;
1891 return NULL; 1885 return NULL;