[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <aDYVvLimkaLAtdiV@slm.duckdns.org>
Date: Tue, 27 May 2025 09:42:52 -1000
From: Tejun Heo <tj@...nel.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: linux-kernel@...r.kernel.org, Johannes Weiner <hannes@...xchg.org>,
Michal Koutný <mkoutny@...e.com>,
cgroups@...r.kernel.org
Subject: [GIT PULL] cgroup: Changes for v6.16
The following changes since commit a22b3d54de94f82ca057cc2ebf9496fa91ebf698:
cgroup/cpuset: Fix race between newly created partition and dying one (2025-04-01 21:46:22 -1000)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git/ cgroup-for-6.16
for you to fetch changes up to 82648b8b2ae0a0ff371e2a98133844658cfaae9a:
sched_ext: Convert cgroup BPF support to use cgroup_lifetime_notifier (2025-05-22 09:20:19 -1000)
----------------------------------------------------------------
cgroup: Changes for v6.16
- cgroup rstat shared the tracking tree across all controlers with the
rationale being that a cgroup which is using one resource is likely to be
using other resources at the same time (ie. if something is allocating
memory, it's probably consuming CPU cycles). However, this turned out to
not scale very well especially with memcg using rstat for internal
operations which made memcg stat read and flush patterns substantially
different from other controllers. JP Kobryn split the rstat tree per
controller.
- cgroup BPF support was hooking into cgroup init/exit paths directly.
Convert them to use a notifier chain instead so that other usages can be
added easily. The two of the patches which implement this are mislabeled
as belonging to sched_ext instead of cgroup. Sorry.
- Relatively minor cpuset updates.
- Documentation updates.
----------------------------------------------------------------
JP Kobryn (12):
cgroup: move rstat base stat objects into their own struct
cgroup: add helper for checking when css is cgroup::self
cgroup: change rstat function signatures from cgroup-based to css-based
cgroup: fix pointer check in css_rstat_init()
cgroup: fix goto ordering in cgroup_init()
cgroup: warn on rstat usage by early init subsystems
cgroup: compare css to cgroup::self in helper for distingushing css
cgroup: use separate rstat trees for each subsystem
cgroup: use subsystem-specific rstat locks to avoid contention
cgroup: helper for checking rstat participation of css
cgroup: document the rstat per-cpu initialization
cgroup: avoid per-cpu allocation of size zero rstat cpu locks
Shashank Balaji (3):
cgroup, docs: be specific about bandwidth control of rt processes
cgroup, docs: convert space indentation to tab indentation
cgroup, docs: cpu controller's interaction with various scheduling policies
Tejun Heo (3):
cgroup: Minor reorganization of cgroup_create()
sched_ext: Introduce cgroup_lifetime_notifier
sched_ext: Convert cgroup BPF support to use cgroup_lifetime_notifier
Waiman Long (4):
cgroup/cpuset: Always use cpu_active_mask
cgroup/cpuset: Fix obsolete comment in cpuset_css_offline()
cgroup/cpuset: Add warnings to catch inconsistency in exclusive CPUs
cgroup/rstat: Improve cgroup_rstat_push_children() documentation
Yury Norov (1):
cgroup/cpuset: drop useless cpumask_empty() in compute_effective_exclusive_cpumask()
Documentation/admin-guide/cgroup-v2.rst | 79 +++-
block/blk-cgroup.c | 10 +-
include/linux/bpf-cgroup.h | 9 +-
include/linux/cgroup-defs.h | 100 +++--
include/linux/cgroup.h | 24 +-
include/trace/events/cgroup.h | 12 +-
kernel/bpf/cgroup.c | 38 +-
kernel/cgroup/cgroup-internal.h | 6 +-
kernel/cgroup/cgroup.c | 148 +++----
kernel/cgroup/cpuset.c | 90 ++--
kernel/cgroup/rstat.c | 460 ++++++++++++++-------
mm/memcontrol.c | 4 +-
.../selftests/bpf/progs/btf_type_tag_percpu.c | 18 +-
.../bpf/progs/cgroup_hierarchical_stats.c | 9 +-
14 files changed, 665 insertions(+), 342 deletions(-)
--
tejun
Powered by blists - more mailing lists