Skip to contentSkip to conversation

cgroup: Fixes for v7.4-rc2

GIT PULL Merged Tejun Heo 2 participants 2 messages Nov 15 cgroup

lore
Share & tools
lore

Tejun Heo

author maintainer
#0 lore raw

Hello,

The following changes since commit 518cec2def9992192291f5028edc077fb2e475e9:

cgroup/cpuset: Integrate compute_partition_effective_cpumask() into compute_effective_cpumask() (2026-10-26 07:44:43 -1000)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git tags/cgroup-for-7.4-rc2-fixes

for you to fetch changes up to acec9637e03ca54bd3c3a0c1a6ad5c6dfa07c0df:

cgroup/cpuset: Don't revive invalid partition without active CPU on hotplug (2026-11-15 10:15:12 -1000)

----------------------------------------------------------------
cgroup: Fixes for v7.4-rc2

- 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.

----------------------------------------------------------------
Chen Ridong (1):
cpuset: add early empty cpumask check in partition_xcpus_add/del

Christian Brauner (1):
memcg: make MEMCG select BLK_CGROUP

Mani Tofigh (2):
cgroup: arm the notify timer only while the file exists cgroup/freezer: walk exiting tasks in the v1 freezer

Ridong Chen (5):
cgroup/cpuset: Reset partition data when an invalid partition stays invalid
cpuset: settle isolation state when CPUs are given back to parent
cpuset: generalize the validate_partition() interface cgroup/cpuset: Remove redundant WARN_ON_ONCE() in remote_cpus_update() cgroup/cpuset: Don't revive invalid partition without active CPU on hotplug

Tejun Heo (1):
cgroup/freezer: Fix exiting tasks left frozen forever after rmdir

Waiman Long (6):
cgroup/cpuset: Fix incorrect CPU accounting with parent's effective_xcpus expansion cgroup/cpuset: Recompute effective cpumask in update_cpumasks_hier() after calling update_parent_effective_cpumask() cgroup/cpuset: Do housekeeping check when isolated child with root parent may get more xcpus selftests/cgroup: Fix "test_cpuset_prs.sh -v" failures
cgroup/cpuset: Protect current->mems_allowed read in cpuset_fork()
cgroup/cpuset: Correctly set isolated_cpus when switching partition state

 init/Kconfig                                      |   1 +
 kernel/cgroup/cgroup.c                            |  22 +-
 kernel/cgroup/cpuset.c                            | 316 +++++++++++-----------
 kernel/cgroup/legacy_freezer.c                    |  40 ++-
 tools/testing/selftests/cgroup/test_cpuset_prs.sh |  46 +++-
 5 files changed, 251 insertions(+), 174 deletions(-)
Signature · 1 line
tejun
merge bot Merged
#1 lore raw
The pull request you sent on Sun, 15 Nov 2026 10:48:42 -1000:

The pull request you sent on Sun, 15 Nov 2026 10:48:42 -1000:

Quoted 1 line

https://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git tags/cgroup-for-7.4-rc2-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/4b15991b3be43e9581aca489ec30a351310bb49d

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html