Files
linux/mm
JP Kobryn a97915559f 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>
2025-04-04 10:06:25 -10:00
..
2024-11-07 14:38:07 -08:00
2024-11-03 01:28:06 -05:00
2025-02-07 16:53:04 +01:00
2024-11-11 00:26:44 -08:00
2025-01-13 22:40:51 -08:00
2024-08-15 22:16:14 -07:00
2024-07-10 12:14:54 -07:00
2025-02-18 10:16:00 +01:00
2025-01-27 19:25:45 -05:00
2025-02-07 16:53:04 +01:00
2025-02-07 16:53:04 +01:00
2025-01-25 20:22:38 -08:00
2024-04-25 20:55:48 -07:00
2024-04-25 20:55:48 -07:00