Skip to content
Snippets Groups Projects
Commit 41082c1d authored by Tejun Heo's avatar Tejun Heo
Browse files

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: default avatarTejun Heo <tj@kernel.org>
parent 859dc4ec
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment