aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorTejun Heo <[email protected]>2024-09-04 20:24:59 +0000
committerTejun Heo <[email protected]>2024-09-04 20:24:59 +0000
commit41082c1d1d2bf6c3e989785fd1def0f09cede446 (patch)
tree48f71aa853ca4fa1fc76448f14356af6858dabaa /rust/helpers/helpers.c
parentsched: Expose css_tg() (diff)
downloadkernel-41082c1d1d2bf6c3e989785fd1def0f09cede446.tar.gz
kernel-41082c1d1d2bf6c3e989785fd1def0f09cede446.zip
sched: Make cpu_shares_read_u64() use tg_weight()
Move tg_weight() upward and make cpu_shares_read_u64() use it too. This makes the weight retrieval shared between cgroup v1 and v2 paths and will be used to implement cgroup support for sched_ext. No functional changes. Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions