lkml.org 
[lkml]   [2023]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] Rework interface between scheduler and schedutil governor
Date
Following the discussion with Qais [1] about how to handle uclamp
requirements and after syncing with him, we agreed that I should move
forward on the patchset to rework the interface between scheduler and
schedutil governor to provide more information to the latter. Scheduler
(and EAS in particular) doesn't need anymore to guess estimate which
headroom the governor wants to apply and will directly ask for the target
freq. Then the governor directly gets the actual utilization and new
minimum and maximum boundaries to select this target frequency and
doesn't have to deal anymore with scheduler internals like uclamp when
including iowait boost.

[1] https://lore.kernel.org/lkml/CAKfTPtA5JqNCauG-rP3wGfq+p8EEVx9Tvwj6ksM3SYCwRmfCTg@mail.gmail.com/

Vincent Guittot (2):
sched/schedutil: rework performance estimation
sched/schedutil: rework iowait boost

include/linux/energy_model.h | 1 -
kernel/sched/core.c | 85 ++++++++++++--------------------
kernel/sched/cpufreq_schedutil.c | 72 +++++++++++++++++----------
kernel/sched/fair.c | 22 +++++++--
kernel/sched/sched.h | 84 +++----------------------------
5 files changed, 105 insertions(+), 159 deletions(-)

--
2.34.1

\
 
 \ /
  Last update: 2023-10-13 17:15    [W:0.127 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site