cgroup changes for v6.19
Tejun Heo
maintainerHi Linus,
The following changes since commit 211ddde0823f1442e4ad052a2f30f050145ccada:
Linux 6.18-rc2 (2025-10-19 15:19:16 -1000)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git tags/cgroup-for-6.19
for you to fetch changes up to b1bcaed1e39a9e0dfbe324a15d2ca4253deda316:
cpuset: Treat cpusets in attaching as populated (2025-11-20 16:25:26 -1000)
----------------------------------------------------------------
cgroup: Changes for v6.19
- Defer task cgroup unlink until after the dying task's final context switch so that controllers see the cgroup properly populated until the task is truly gone.
- cpuset cleanups and simplifications. Enforce that domain isolated CPUs stay in root or isolated partitions and fail if isolated+nohz_full would leave no housekeeping CPU. Fix sched/deadline root domain handling during CPU hot-unplug and race for tasks in attaching cpusets.
- Misc fixes including memory reclaim protection documentation and selftest KTAP conformance.
----------------------------------------------------------------
Bert Karwatzki (1):
cgroup: include missing header for struct irq_work
Chen Ridong (4):
cpuset: simplify node setting on error
cpuset: remove global remote_children list
cpuset: remove need_rebuild_sched_domains
cpuset: Treat cpusets in attaching as populated
Gabriele Monaco (1):
cgroup/cpuset: Rename update_unbound_workqueue_cpumask() to update_isolation_cpumasks()
Guopeng Zhang (1):
selftests/cgroup: conform test to KTAP format output
Michal Koutný (3):
docs: cgroup: Explain reclaim protection target
docs: cgroup: Note about sibling relative reclaim protection
docs: cgroup: No special handling of unpopulated memcgs
Pingfan Liu (2):
cgroup/cpuset: Introduce cpuset_cpus_allowed_locked() sched/deadline: Walk up cpuset hierarchy to decide root domain when hot-unplug
Tejun Heo (4):
cgroup: Rename cgroup lifecycle hooks to cgroup_task_*()
cgroup: Move dying_tasks cleanup from cgroup_task_release() to cgroup_task_free()
cgroup: Defer task cgroup unlink until after the task is done switching out
cgroup: Fix sleeping from invalid context warning on PREEMPT_RT
Waiman Long (5):
cgroup/cpuset: Don't track # of local child partitions cgroup/cpuset: Fail if isolated and nohz_full don't leave any housekeeping cgroup/cpuset: Move up prstate_housekeeping_conflict() helper cgroup/cpuset: Ensure domain isolated CPUs stay in root or isolated partition cgroup/cpuset: Globally track isolated_cpus update
Documentation/admin-guide/cgroup-v2.rst | 31 +- include/linux/cgroup.h | 14 +- include/linux/cpuset.h | 9 +- include/linux/sched.h | 5 +- kernel/cgroup/cgroup.c | 91 +++++- kernel/cgroup/cpuset-internal.h | 13 +- kernel/cgroup/cpuset.c | 356 ++++++++++++++--------- kernel/exit.c | 4 +- kernel/fork.c | 2 +- kernel/sched/autogroup.c | 4 +- kernel/sched/core.c | 2 + kernel/sched/deadline.c | 54 +++- tools/testing/selftests/cgroup/test_core.c | 7 +- tools/testing/selftests/cgroup/test_cpu.c | 7 +- tools/testing/selftests/cgroup/test_cpuset.c | 7 +- tools/testing/selftests/cgroup/test_freezer.c | 7 +- tools/testing/selftests/cgroup/test_kill.c | 7 +- tools/testing/selftests/cgroup/test_kmem.c | 7 +- tools/testing/selftests/cgroup/test_memcontrol.c | 7 +- tools/testing/selftests/cgroup/test_zswap.c | 7 +- 20 files changed, 435 insertions(+), 206 deletions(-)
Thanks.
--
tejun
The pull request you sent on Mon, 01 Dec 2025 09:16:13 -1000:
The pull request you sent on Mon, 01 Dec 2025 09:16:13 -1000:
Quoted 1 line
https://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git tags/cgroup-for-6.19
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/8449d3252c2603a51ffc7c36cb5bd94874378b7d
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html