|
@@ -6352,8 +6352,10 @@ static inline void update_sd_lb_stats(struct lb_env *env, struct sd_lb_stats *sd
|
|
* with a large weight task outweighs the tasks on the system).
|
|
* with a large weight task outweighs the tasks on the system).
|
|
*/
|
|
*/
|
|
if (prefer_sibling && sds->local &&
|
|
if (prefer_sibling && sds->local &&
|
|
- sds->local_stat.group_has_free_capacity)
|
|
|
|
|
|
+ sds->local_stat.group_has_free_capacity) {
|
|
sgs->group_capacity_factor = min(sgs->group_capacity_factor, 1U);
|
|
sgs->group_capacity_factor = min(sgs->group_capacity_factor, 1U);
|
|
|
|
+ sgs->group_type = group_classify(sg, sgs);
|
|
|
|
+ }
|
|
|
|
|
|
if (update_sd_pick_busiest(env, sds, sg, sgs)) {
|
|
if (update_sd_pick_busiest(env, sds, sg, sgs)) {
|
|
sds->busiest = sg;
|
|
sds->busiest = sg;
|