]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
cgroup: helper for checking rstat participation of css
authorJP Kobryn <inwardvessel@gmail.com>
Thu, 15 May 2025 00:19:36 +0000 (17:19 -0700)
committerTejun Heo <tj@kernel.org>
Mon, 19 May 2025 20:29:49 +0000 (10:29 -1000)
commit93b35663f2018ff2accf4336a909081883eda76b
treea79fe1e21d5b8931f4b94bf8e5e703063bdade83
parent748922dcfabdd655d25fb6dd09a60e694a3d35e6
cgroup: helper for checking rstat participation of css

There are a few places where a conditional check is performed to validate a
given css on its rstat participation. This new helper tries to make the
code more readable where this check is performed.

Signed-off-by: JP Kobryn <inwardvessel@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/cgroup/rstat.c