diff options
author | Tejun Heo <tj@kernel.org> | 2024-09-04 10:24:59 -1000 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2024-09-04 10:24:59 -1000 |
commit | 41082c1d1d2bf6c3e989785fd1def0f09cede446 (patch) | |
tree | 48f71aa853ca4fa1fc76448f14356af6858dabaa /scripts/generate_rust_analyzer.py | |
parent | 859dc4ec5a4321298d8978cb6eeb3e21a2eebab5 (diff) |
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions