[GIT PULL] cgroup: A fix for v6.16-rc1

From: Tejun Heo
Date: Tue Jun 03 2025 - 14:43:09 EST


The following changes since commit 0f70f5b08a47a3bc1a252e5f451a137cde7c98ce:

Merge tag 'pull-automount' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs (2025-05-30 15:38:29 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git/ tags/cgroup-for-6.16-rc1-fixes

for you to fetch changes up to c853d18706de8c9525126b362f747d2e480e93df:

cgroup: adjust criteria for rstat subsystem cpu lock access (2025-05-30 14:36:13 -1000)

----------------------------------------------------------------
cgroup: A fix for v6.16-rc1

rstat per-subsystem split change skipped per-cpu allocation on UP configs;
however even on UP, depending on config options, the size of the percpu
struct may not be zero leading to crashes. Fix it by conditionalizing the
per-cpu area allocation and usage on the size of the per-cpu struct.

----------------------------------------------------------------
JP Kobryn (1):
cgroup: adjust criteria for rstat subsystem cpu lock access

kernel/cgroup/rstat.c | 25 ++++++++++++++++---------
1 file changed, 16 insertions(+), 9 deletions(-)

--
tejun