lkml.org 
[lkml]   [2021]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] uclamp_max vs schedutil fixes
Date
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

\
 
 \ /
  Last update: 2021-12-16 23:53    [W:0.094 / U:0.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site