Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 63888
b: refs/heads/master
c: e56f31a
h: refs/heads/master
v: v3
  • Loading branch information
Ingo Molnar committed Aug 10, 2007
1 parent 68d4b23 commit e347015
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 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: 529c77261bccd9d37f110f58b0753d95beaa9fa2
refs/heads/master: e56f31aad9d8c0102bc074cdab4e3ee76b38600d
7 changes: 3 additions & 4 deletions trunk/kernel/sched_fair.c
Original file line number Diff line number Diff line change
Expand Up @@ -959,13 +959,12 @@ load_balance_fair(struct rq *this_rq, int this_cpu, struct rq *busiest,
for_each_leaf_cfs_rq(busiest, busy_cfs_rq) {
#ifdef CONFIG_FAIR_GROUP_SCHED
struct cfs_rq *this_cfs_rq;
long imbalances;
long imbalance;
unsigned long maxload;

this_cfs_rq = cpu_cfs_rq(busy_cfs_rq, this_cpu);

imbalance = busy_cfs_rq->load.weight -
this_cfs_rq->load.weight;
imbalance = busy_cfs_rq->load.weight - this_cfs_rq->load.weight;
/* Don't pull if this_cfs_rq has more load than busy_cfs_rq */
if (imbalance <= 0)
continue;
Expand All @@ -976,7 +975,7 @@ load_balance_fair(struct rq *this_rq, int this_cpu, struct rq *busiest,

*this_best_prio = cfs_rq_best_prio(this_cfs_rq);
#else
#define maxload rem_load_move
# define maxload rem_load_move
#endif
/* pass busy_cfs_rq argument into
* load_balance_[start|next]_fair iterators
Expand Down

0 comments on commit e347015

Please sign in to comment.