diff options
| author | JP Kobryn <inwardvessel@gmail.com> | 2025-04-04 04:10:48 +0300 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2025-04-04 23:06:25 +0300 |
| commit | a97915559f5c5ff1972d678b94fd460c72a3b5f2 (patch) | |
| tree | a6024fb9076c05066946ed750ee5b552aa4e2e4b /net/unix/af_unix.c | |
| parent | 845a7245801142bfff411bc84afa8cdbc789562f (diff) | |
| download | linux-a97915559f5c5ff1972d678b94fd460c72a3b5f2.tar.xz | |
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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
