Merge "sched/fair: Improve the scheduler"
This commit is contained in:
commit
0b47617031
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue