diff options
author | Tejun Heo <tj@kernel.org> | 2025-06-13 15:23:29 -1000 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2025-06-18 13:59:57 +0200 |
commit | 43e33f53e25687ca870248d1939cfade0164426c (patch) | |
tree | a295629ccee9cd5f19421e8230339de2db5eab8a /tools/perf/scripts/python/parallel-perf.py | |
parent | de4c80c6963e130707ead16a544a387f811dbd87 (diff) |
sched/core: Reorganize cgroup bandwidth control interface file reads
- Update tg_get_cfs_*() to return u64 values. These are now used as the low
level accessors to the fair's bandwidth configuration parameters.
Translation to usecs takes place in these functions.
- Add tg_bandwidth() which reads all three bandwidth parameters using
tg_get_cfs_*().
- Reimplement cgroup interface read functions using tg_bandwidth(). Drop cfs
from the function names.
This is to prepare for adding bandwidth control support to sched_ext.
tg_bandwidth() will be used as the muxing point similar to tg_weight(). No
functional changes.
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20250614012346.2358261-4-tj@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions