sched/cpufreq: Rework iowait boost
authorVincent Guittot <vincent.guittot@linaro.org>
Wed, 22 Nov 2023 13:39:04 +0000 (14:39 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 23 Nov 2023 10:32:02 +0000 (11:32 +0100)
commitf12560779f9d734446508f3df17f5632e9aaa2c8
treed075c90c1830fa76e1af0abec8bd024476bd7518
parent9c0b4bb7f6303c9c4e2e34984c46f5a86478f84d
sched/cpufreq: Rework iowait boost

Use the max value that has already been computed inside sugov_get_util()
to cap the iowait boost and remove dependency with uclamp_rq_util_with()
which is not used anymore.

Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Rafael J. Wysocki <rafael@kernel.org>
Link: https://lore.kernel.org/r/20231122133904.446032-3-vincent.guittot@linaro.org
kernel/sched/cpufreq_schedutil.c
kernel/sched/sched.h