|
@@ -4288,8 +4288,11 @@ more_balance:
|
|
/* All tasks on this runqueue were pinned by CPU affinity */
|
|
/* All tasks on this runqueue were pinned by CPU affinity */
|
|
if (unlikely(env.flags & LBF_ALL_PINNED)) {
|
|
if (unlikely(env.flags & LBF_ALL_PINNED)) {
|
|
cpumask_clear_cpu(cpu_of(busiest), cpus);
|
|
cpumask_clear_cpu(cpu_of(busiest), cpus);
|
|
- if (!cpumask_empty(cpus))
|
|
|
|
|
|
+ if (!cpumask_empty(cpus)) {
|
|
|
|
+ env.loop = 0;
|
|
|
|
+ env.loop_break = sched_nr_migrate_break;
|
|
goto redo;
|
|
goto redo;
|
|
|
|
+ }
|
|
goto out_balanced;
|
|
goto out_balanced;
|
|
}
|
|
}
|
|
}
|
|
}
|