Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 366106
b: refs/heads/master
c: f1cd085
h: refs/heads/master
v: v3
  • Loading branch information
Joonsoo Kim authored and Ingo Molnar committed Apr 24, 2013
1 parent 2d2b89c commit 43ca0e5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: 642dbc39ab1ea00f47e0fee1b8e8a27da036d940
refs/heads/master: f1cd0858100c67273f2c74344e0c464344c4a982
10 changes: 5 additions & 5 deletions trunk/kernel/sched/fair.c
Original file line number Diff line number Diff line change
Expand Up @@ -5080,17 +5080,17 @@ static int load_balance(int this_cpu, struct rq *this_rq,
double_rq_unlock(env.dst_rq, busiest);
local_irq_restore(flags);

if (env.flags & LBF_NEED_BREAK) {
env.flags &= ~LBF_NEED_BREAK;
goto more_balance;
}

/*
* some other cpu did the load balance for us.
*/
if (cur_ld_moved && env.dst_cpu != smp_processor_id())
resched_cpu(env.dst_cpu);

if (env.flags & LBF_NEED_BREAK) {
env.flags &= ~LBF_NEED_BREAK;
goto more_balance;
}

/*
* Revisit (affine) tasks on src_cpu that couldn't be moved to
* us and move them to an alternate dst_cpu in our sched_group
Expand Down

0 comments on commit 43ca0e5

Please sign in to comment.