[GIT PULL] cgroup: Fixes for v6.15-rc1
From: Tejun Heo
Date: Mon Apr 07 2025 - 13:43:34 EST
The following changes since commit 1e7857b28020ba57ca7fdafae7ac855ba326c697:
x86: don't re-generate cpufeaturemasks.h so eagerly (2025-03-31 14:19:55 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git/ tags/cgroup-for-6.15-rc1-fixes
for you to fetch changes up to a22b3d54de94f82ca057cc2ebf9496fa91ebf698:
cgroup/cpuset: Fix race between newly created partition and dying one (2025-04-01 21:46:22 -1000)
----------------------------------------------------------------
cgroup: Fixes for v6.15-rc1
- A number of cpuset remote partition related fixes and cleanups along with
selftest updates.
- A change from this merge window made cgroup_rstat_updated_list() called
outside cgroup_rstat_lock leading to list corruptions. Fix it by
relocating the call inside the lock.
----------------------------------------------------------------
Shakeel Butt (1):
cgroup: rstat: call cgroup_rstat_updated_list with cgroup_rstat_lock
Waiman Long (10):
cgroup/cpuset: Fix incorrect isolated_cpus update in update_parent_effective_cpumask()
cgroup/cpuset: Fix error handling in remote_partition_disable()
cgroup/cpuset: Remove remote_partition_check() & make update_cpumasks_hier() handle remote partition
cgroup/cpuset: Don't allow creation of local partition over a remote one
cgroup/cpuset: Code cleanup and comment update
cgroup/cpuset: Remove unneeded goto in sched_partition_write() and rename it
selftest/cgroup: Update test_cpuset_prs.sh to use | as effective CPUs and state separator
selftest/cgroup: Clean up and restructure test_cpuset_prs.sh
selftest/cgroup: Add a remote partition transition test to test_cpuset_prs.sh
cgroup/cpuset: Fix race between newly created partition and dying one
include/linux/cgroup-defs.h | 1 +
include/linux/cgroup.h | 2 +-
kernel/cgroup/cgroup.c | 6 +
kernel/cgroup/cpuset-internal.h | 1 +
kernel/cgroup/cpuset.c | 401 ++++++++------
kernel/cgroup/rstat.c | 3 +-
tools/testing/selftests/cgroup/test_cpuset_prs.sh | 617 ++++++++++++++--------
7 files changed, 651 insertions(+), 380 deletions(-)
--
tejun