[GIT PULL] cgroup: Changes for v6.11
From: Tejun Heo
Date: Mon Jul 15 2024 - 01:00:59 EST
The following changes since commit 55027e689933ba2e64f3d245fb1ff185b3e7fc81:
Merge tag 'input-for-v6.10-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input (2024-06-24 14:36:11 -0400)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git/ tags/cgroup-for-6.11
for you to fetch changes up to 9283ff5be1510a35356656a6c1efe14f765c936a:
Merge branch 'for-6.10-fixes' into for-6.11 (2024-07-14 18:04:03 -1000)
----------------------------------------------------------------
cgroup: Changes for v6.11
- Added Michal Koutný as a maintainer.
- Counters in pids.events were behaving inconsistently. pids.events made
properly hierarchical and pids.events.local added.
- misc.peak and misc.events.local added.
- cpuset remote partition creation and cpuset.cpus.exclusive handling
improved.
- Code cleanups, non-critical fixes, doc updates.
- for-6.10-fixes is merged in to receive two non-critical fixes that didn't
trigger pull.
----------------------------------------------------------------
Chen Ridong (2):
cgroup/cpuset: Prevent UAF in proc_cpuset_show()
cgroup/rstat: add force idle show helper
David Wang (1):
kernel/cgroup: cleanup cgroup_base_files when fail to add cgroup_psi_files
Michal Koutný (5):
cgroup/pids: Separate semantics of pids.events related to pids.max
cgroup/pids: Make event counters hierarchical
cgroup/pids: Add pids.events.local
selftests: cgroup: Lexicographic order in Makefile
selftests: cgroup: Add basic tests for pids controller
Oleg Nesterov (1):
cgroup: avoid the unnecessary list_add(dying_tasks) in cgroup_exit()
Randy Dunlap (1):
cgroup_misc: add kernel-doc comments for enum misc_res_type
Tejun Heo (2):
cgroup: Add Michal Koutný as a maintainer
Merge branch 'for-6.10-fixes' into for-6.11
Waiman Long (7):
cgroup/cpuset: Optimize isolated partition only generate_sched_domains() calls
cgroup/cpuset: Fix remote root partition creation problem
selftest/cgroup: Fix test_cpuset_prs.sh problems reported by test robot
cgroup/cpuset: Delay setting of CS_CPU_EXCLUSIVE until valid partition
cgroup/cpuset: Make cpuset.cpus.exclusive independent of cpuset.cpus
selftest/cgroup: Update test_cpuset_prs.sh to match changes
cgroup: Protect css->cgroup write under css_set_lock
Xiu Jianfeng (5):
cgroup/cpuset: Remove unnecessary zeroing
cgroup/cpuset: Update comment on callback_lock
cgroup/cpuset: Reduce the lock protecting CS_SCHED_LOAD_BALANCE
cgroup/misc: Introduce misc.peak
cgroup/misc: Introduce misc.events.local
Documentation/admin-guide/cgroup-v1/pids.rst | 3 +-
Documentation/admin-guide/cgroup-v2.rst | 47 +++++-
MAINTAINERS | 1 +
include/linux/cgroup-defs.h | 7 +-
include/linux/misc_cgroup.h | 12 +-
kernel/cgroup/cgroup.c | 36 +++-
kernel/cgroup/cpuset.c | 197 ++++++++++++++++------
kernel/cgroup/misc.c | 80 ++++++++-
kernel/cgroup/pids.c | 129 +++++++++++---
kernel/cgroup/rstat.c | 37 ++--
tools/testing/selftests/cgroup/.gitignore | 11 +-
tools/testing/selftests/cgroup/Makefile | 25 +--
tools/testing/selftests/cgroup/test_cpuset_prs.sh | 75 +++++---
tools/testing/selftests/cgroup/test_pids.c | 178 +++++++++++++++++++
14 files changed, 679 insertions(+), 159 deletions(-)
create mode 100644 tools/testing/selftests/cgroup/test_pids.c