Commit 4b15991b3be4 for kernel
commit 4b15991b3be43e9581aca489ec30a351310bb49d
Merge: f70886e5a510 acec9637e03c
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date: Sun Nov 15 14:17:31 2026 -0800
Merge tag 'cgroup-for-7.4-rc2-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup
Pull cgroup fixes from Tejun Heo:
- A file notification racing the file's removal could re-arm the
notification timer after it was shut down, corrupting the timer wheel
or firing on freed memory.
- The v1 freezer could leave an exiting task frozen forever after its
cgroup was thawed or removed.
- With memcg built without the block cgroup controller, memcg reclaim
waited on writeback and could deadlock against a filesystem freeze.
memcg now selects the controller.
- cpuset partition state could go wrong when CPUs move between nested
partitions or go offline: isolated CPUs leaked or went missing,
invalid partitions kept exclusive CPUs or came back with no usable
CPU, and expanding a remote partition could fail. Separately, a
forked child could inherit a corrupted memory node mask.
* tag 'cgroup-for-7.4-rc2-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup:
cgroup/cpuset: Don't revive invalid partition without active CPU on hotplug
cgroup/cpuset: Remove redundant WARN_ON_ONCE() in remote_cpus_update()
memcg: make MEMCG select BLK_CGROUP
cpuset: generalize the validate_partition() interface
cpuset: settle isolation state when CPUs are given back to parent
cgroup/cpuset: Correctly set isolated_cpus when switching partition state
cgroup/cpuset: Protect current->mems_allowed read in cpuset_fork()
selftests/cgroup: Fix "test_cpuset_prs.sh -v" failures
cpuset: add early empty cpumask check in partition_xcpus_add/del
cgroup/cpuset: Reset partition data when an invalid partition stays invalid
cgroup/freezer: Fix exiting tasks left frozen forever after rmdir
cgroup/freezer: walk exiting tasks in the v1 freezer
cgroup: arm the notify timer only while the file exists
cgroup/cpuset: Do housekeeping check when isolated child with root parent may get more xcpus
cgroup/cpuset: Recompute effective cpumask in update_cpumasks_hier() after calling update_parent_effective_cpumask()
cgroup/cpuset: Fix incorrect CPU accounting with parent's effective_xcpus expansion