Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 100247
b: refs/heads/master
c: c4acb2c
h: refs/heads/master
i:
  100245: afe16b1
  100243: e33208e
  100239: cd9515b
v: v3
  • Loading branch information
Gregory Haskins authored and Ingo Molnar committed Jul 4, 2008
1 parent b886156 commit ee0b5a7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 30432094a7f506ad24997a3ba6aed913ab61c01d
refs/heads/master: c4acb2c0669c5c5c9b28e9d02a34b5c67edf7092
4 changes: 4 additions & 0 deletions trunk/kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -3013,6 +3013,10 @@ static int move_tasks(struct rq *this_rq, int this_cpu, struct rq *busiest,
max_load_move - total_load_moved,
sd, idle, all_pinned, &this_best_prio);
class = class->next;

if (idle == CPU_NEWLY_IDLE && this_rq->nr_running)
break;

} while (class && max_load_move > total_load_moved);

return total_load_moved > 0;
Expand Down

0 comments on commit ee0b5a7

Please sign in to comment.