diff options
author | 2025-04-03 18:10:48 -0700 | |
---|---|---|
committer | 2025-04-04 10:06:25 -1000 | |
commit | a97915559f5c5ff1972d678b94fd460c72a3b5f2 (patch) | |
tree | a6024fb9076c05066946ed750ee5b552aa4e2e4b /scripts/lib/kdoc/kdoc_files.py | |
parent | cgroup: add helper for checking when css is cgroup::self (diff) | |
download | wireguard-linux-a97915559f5c5ff1972d678b94fd460c72a3b5f2.tar.xz wireguard-linux-a97915559f5c5ff1972d678b94fd460c72a3b5f2.zip |
cgroup: change rstat function signatures from cgroup-based to css-based
This non-functional change serves as preparation for moving to
subsystem-based rstat trees. To simplify future commits, change the
signatures of existing cgroup-based rstat functions to become css-based and
rename them to reflect that.
Though the signatures have changed, the implementations have not. Within
these functions use the css->cgroup pointer to obtain the associated cgroup
and allow code to function the same just as it did before this patch. At
applicable call sites, pass the subsystem-specific css pointer as an
argument or pass a pointer to cgroup::self if not in subsystem context.
Note that cgroup_rstat_updated_list() and cgroup_rstat_push_children()
are not altered yet since there would be a larger amount of css to
cgroup conversions which may overcomplicate the code at this
intermediate phase.
Signed-off-by: JP Kobryn <inwardvessel@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions