The following changes since commit 4cece764965020c22cff7665b18a012006359095: Linux 6.9-rc1 (2024-03-24 14:10:05 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git/ tags/cgroup-for-6.10 for you to fetch changes up to 21c38a3bd4ee3fb7337d013a638302fb5e5f9dc2: cgroup/rstat: add cgroup_rstat_cpu_lock helpers and tracepoints (2024-05-14 09:43:17 -1000) ---------------------------------------------------------------- cgroup: Changes for v6.10 - The locking around cpuset hotplug processing has always been a bit of mess which was worked around by making hotplug processing asynchronous. The asynchronity isn't great and led to other issues. We tried to make the behavior synchronous a while ago but that led to lockdep splats. Waiman took another stab at cleaning up and making it synchronous. The patch has been in -next for well over a month and there haven't been any complaints, so fingers crossed. - Tracepoints added to help understanding rstat lock contentions. - A bunch of minor changes - doc updates, code cleanups and selftests. ---------------------------------------------------------------- Edward Liaw (1): selftests/cgroup: Drop define _GNU_SOURCE I Hsin Cheng (1): docs: cgroup-v1: Fix description for css_online Illia Ostapyshyn (1): docs: cgroup-v1: Update page cache removal functions Jesper Dangaard Brouer (3): cgroup/rstat: add cgroup_rstat_lock helpers and tracepoints cgroup/rstat: desc member cgrp in cgroup_rstat_flush_release cgroup/rstat: add cgroup_rstat_cpu_lock helpers and tracepoints John Hubbard (4): selftests/cgroup: fix clang build failures for abs() calls selftests/cgroup: fix clang warnings: uninitialized fd variable selftests/cgroup: cpu_hogger init: use {} instead of {NULL} selftests/cgroup: fix uninitialized variables in test_zswap.c Michal Koutný (1): cgroup/pids: Remove superfluous zeroing Tianchen Ding (1): selftests: cgroup: skip test_cgcore_lesser_ns_open when cgroup2 mounted without nsdelegate Waiman Long (4): cgroup, docs: Clarify limitation of RT processes with cgroup v2 cpu controller cgroup/cpuset: Make cpuset hotplug processing synchronous cgroup/cpuset: Add test_cpuset_v1_hp.sh cgroup/cpuset: Fix incorrect top_cpuset flags Xiu Jianfeng (8): cgroup_freezer: update comment for freezer_css_online() cgroup: don't call cgroup1_pidlist_destroy_all() for v2 docs, cgroup: add entries for pids to cgroup-v2.rst cgroup, legacy_freezer: update comment for freezer_css_offline() cgroup: Avoid unnecessary looping in cgroup_no_v1() cgroup/cpuset: Statically initialize more members of top_cpuset cgroup/cpuset: Avoid clearing CS_SCHED_LOAD_BALANCE twice cgroup/cpuset: Remove outdated comment in sched_partition_write() Documentation/admin-guide/cgroup-v1/cgroups.rst | 2 +- Documentation/admin-guide/cgroup-v1/memcg_test.rst | 2 +- Documentation/admin-guide/cgroup-v2.rst | 31 +++- include/linux/cgroup.h | 2 +- include/linux/cpuset.h | 3 - include/trace/events/cgroup.h | 92 ++++++++++++ kernel/cgroup/cgroup-v1.c | 1 + kernel/cgroup/cgroup.c | 3 +- kernel/cgroup/cpuset.c | 156 ++++++++------------- kernel/cgroup/legacy_freezer.c | 5 +- kernel/cgroup/pids.c | 2 - kernel/cgroup/rstat.c | 118 +++++++++++++--- kernel/cpu.c | 48 ------- kernel/power/process.c | 2 - tools/testing/selftests/cgroup/Makefile | 2 +- tools/testing/selftests/cgroup/cgroup_util.c | 11 +- tools/testing/selftests/cgroup/cgroup_util.h | 4 +- tools/testing/selftests/cgroup/test_core.c | 9 +- tools/testing/selftests/cgroup/test_cpu.c | 8 +- tools/testing/selftests/cgroup/test_cpuset.c | 2 +- .../testing/selftests/cgroup/test_cpuset_v1_hp.sh | 46 ++++++ tools/testing/selftests/cgroup/test_freezer.c | 2 +- .../testing/selftests/cgroup/test_hugetlb_memcg.c | 4 +- tools/testing/selftests/cgroup/test_kill.c | 2 +- tools/testing/selftests/cgroup/test_kmem.c | 8 +- tools/testing/selftests/cgroup/test_memcontrol.c | 8 +- tools/testing/selftests/cgroup/test_zswap.c | 8 +- 27 files changed, 358 insertions(+), 223 deletions(-) create mode 100755 tools/testing/selftests/cgroup/test_cpuset_v1_hp.sh