Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 318404
b: refs/heads/master
c: bbf18b1
h: refs/heads/master
v: v3
  • Loading branch information
Prashanth Nageshappa authored and Ingo Molnar committed Jul 24, 2012
1 parent 94ccc20 commit 6750575
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 85c1e7dae165acd004429f81fe52bfbf55b57a98
refs/heads/master: bbf18b19495942cc730e8ff11fc3ffadf20cbfe1
5 changes: 4 additions & 1 deletion trunk/kernel/sched/fair.c
Original file line number Diff line number Diff line change
Expand Up @@ -4288,8 +4288,11 @@ static int load_balance(int this_cpu, struct rq *this_rq,
/* All tasks on this runqueue were pinned by CPU affinity */
if (unlikely(env.flags & LBF_ALL_PINNED)) {
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 out_balanced;
}
}
Expand Down

0 comments on commit 6750575

Please sign in to comment.