Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 158371
b: refs/heads/master
c: d899a78
h: refs/heads/master
i:
  158369: 5fa7f32
  158367: 43e3089
v: v3
  • Loading branch information
Gautham R Shenoy authored and Ingo Molnar committed Sep 4, 2009
1 parent 20ed5d7 commit c4e5d72
Show file tree
Hide file tree
Showing 2 changed files with 2 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: bdb94aa5dbd8b55e75f5a50b61312fe589e2c2d1
refs/heads/master: d899a789c28ded9c72b57ddb61868d6b8fc23e80
2 changes: 1 addition & 1 deletion trunk/kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -3668,7 +3668,7 @@ static inline void update_sd_power_savings_stats(struct sched_group *group,
* capacity but still has some space to pick up some load
* from other group and save more power
*/
if (sgs->sum_nr_running > sgs->group_capacity - 1)
if (sgs->sum_nr_running + 1 > sgs->group_capacity)
return;

if (sgs->sum_nr_running > sds->leader_nr_running ||
Expand Down

0 comments on commit c4e5d72

Please sign in to comment.