aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched/fair.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sched/fair.c')
-rw-r--r--kernel/sched/fair.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index 9361669d4242..f9f9aa0edf3c 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -4288,8 +4288,11 @@ more_balance:
4288 /* All tasks on this runqueue were pinned by CPU affinity */ 4288 /* All tasks on this runqueue were pinned by CPU affinity */
4289 if (unlikely(env.flags & LBF_ALL_PINNED)) { 4289 if (unlikely(env.flags & LBF_ALL_PINNED)) {
4290 cpumask_clear_cpu(cpu_of(busiest), cpus); 4290 cpumask_clear_cpu(cpu_of(busiest), cpus);
4291 if (!cpumask_empty(cpus)) 4291 if (!cpumask_empty(cpus)) {
4292 env.loop = 0;
4293 env.loop_break = sched_nr_migrate_break;
4292 goto redo; 4294 goto redo;
4295 }
4293 goto out_balanced; 4296 goto out_balanced;
4294 } 4297 }
4295 } 4298 }