diff options
| author | Tejun Heo <[email protected]> | 2025-06-14 01:23:29 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2025-06-18 11:59:57 +0000 |
| commit | 43e33f53e25687ca870248d1939cfade0164426c (patch) | |
| tree | a295629ccee9cd5f19421e8230339de2db5eab8a /drivers/fpga/microchip-spi.c | |
| parent | sched/core: Relocate tg_get_cfs_*() and cpu_cfs_*_read_*() (diff) | |
| download | kernel-43e33f53e25687ca870248d1939cfade0164426c.tar.gz kernel-43e33f53e25687ca870248d1939cfade0164426c.zip | |
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 <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/fpga/microchip-spi.c')
0 files changed, 0 insertions, 0 deletions
