[PATCH 0/2] uclamp_max vs schedutil fixes
From: Qais Yousef
Date: Thu Dec 16 2021 - 17:53:43 EST
On systems that use sugov_update_single_{freq, perf}(), uclamp_max was
ineffective because of 'busy' filter which ignores requests to change frequency
if there's no idle time. A condition that is not true if uclamp is being used
on this system.
Similarly, io heavy tasks that are capped by uclamp_max can still obtain higher
frequencies because sugov_iowait_apply() doesn't clamp the boost with
uclamp_rq_util_with().
Patches 1 and 2 address these 2 problems.
Thanks!
--
Qais Yousef
Qais Yousef (2):
sched/sugov: Ignore 'busy' filter when uclamp_is_used()
sched/uclamp: Fix iowait boost escaping uclamp restriction
kernel/sched/cpufreq_schedutil.c | 11 ++-
kernel/sched/sched.h | 139 +++++++++++++++++--------------
2 files changed, 87 insertions(+), 63 deletions(-)
--
2.25.1