Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 182507
b: refs/heads/master
c: 8f190fb
h: refs/heads/master
i:
  182505: bc9989b
  182503: 56e456b
v: v3
  • Loading branch information
Peter Zijlstra authored and Ingo Molnar committed Jan 21, 2010
1 parent 270f56e commit 241aa47
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: f492e12ef050e02bf0185b6b57874992591b9be1
refs/heads/master: 8f190fb3f7a405682666d3723f6ec370b5afe4da
6 changes: 3 additions & 3 deletions trunk/kernel/sched_fair.c
Original file line number Diff line number Diff line change
Expand Up @@ -2465,7 +2465,7 @@ static inline void update_sg_lb_stats(struct sched_domain *sd,
* to do the newly idle load balance.
*/
if (idle != CPU_NEWLY_IDLE && local_group &&
balance_cpu != this_cpu && balance) {
balance_cpu != this_cpu) {
*balance = 0;
return;
}
Expand Down Expand Up @@ -2528,7 +2528,7 @@ static inline void update_sd_lb_stats(struct sched_domain *sd, int this_cpu,
update_sg_lb_stats(sd, group, this_cpu, idle, load_idx, sd_idle,
local_group, cpus, balance, &sgs);

if (local_group && balance && !(*balance))
if (local_group && !(*balance))
return;

sds->total_load += sgs.group_load;
Expand Down Expand Up @@ -2720,7 +2720,7 @@ find_busiest_group(struct sched_domain *sd, int this_cpu,
* 5) The imbalance is within the specified limit.
* 6) Any rebalance would lead to ping-pong
*/
if (balance && !(*balance))
if (!(*balance))
goto ret;

if (!sds.busiest || sds.busiest_nr_running == 0)
Expand Down

0 comments on commit 241aa47

Please sign in to comment.