|
@@ -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
|
|
* capacity but still has some space to pick up some load
|
|
* from other group and save more power
|
|
* 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;
|
|
return;
|
|
|
|
|
|
if (sgs->sum_nr_running > sds->leader_nr_running ||
|
|
if (sgs->sum_nr_running > sds->leader_nr_running ||
|