Re: [PATCH 3/3] sched/fair: Consider uclamp for "task fits capacity" checks
From: Qais Yousef
Date: Tue Nov 26 2019 - 05:06:44 EST
On 11/25/19 17:33, Valentin Schneider wrote:
> With cgroups, I do recall something about allowing the cgroup *knobs* to be
> inverted, but AFAICT that gets sanitized when it trickles down to the
> scheduler via cpu_util_update_eff():
>
> eff[UCLAMP_MIN] = min(eff[UCLAMP_MIN], eff[UCLAMP_MAX]);
I missed that we cap here too.
>
> So I don't see how inversion could happen within uclamp_task_util().
> Patrick, any chance you could light up my torch?
I think I am equally confused now. A clarification that can help improving the
comment would be useful.
Thanks
--
Qais Yousef