Merge "sched/fair: Improve the scheduler"

This commit is contained in:
qctecmdr 2019-12-10 07:14:55 -08:00 committed by Gerrit - the friendly Code Review server
commit 0b47617031

View file

@ -9386,6 +9386,11 @@ group_is_overloaded(struct lb_env *env, struct sg_lb_stats *sgs)
if (sgs->sum_nr_running <= sgs->group_weight)
return false;
#ifdef CONFIG_SCHED_WALT
if (env->idle != CPU_NOT_IDLE && walt_rotation_enabled)
return true;
#endif
if ((sgs->group_capacity * 100) <
(sgs->group_util * env->sd->imbalance_pct))
return true;