summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2024-09-04 22:24:59 +0200
committerTejun Heo <tj@kernel.org>2024-09-04 22:24:59 +0200
commit41082c1d1d2bf6c3e989785fd1def0f09cede446 (patch)
tree48f71aa853ca4fa1fc76448f14356af6858dabaa /init
parentsched: Expose css_tg() (diff)
downloadlinux-41082c1d1d2bf6c3e989785fd1def0f09cede446.tar.xz
linux-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 <tj@kernel.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions