diff options
author | Tejun Heo <tj@kernel.org> | 2025-05-14 07:43:41 +0300 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2025-05-22 22:19:57 +0300 |
commit | cd22cbad1b800e55f5bd38c58be16f9d0b171d9a (patch) | |
tree | d0b807182dd227a90029cdd67f2abc76ae6d7bca /tools/perf/scripts/python/mem-phys-addr.py | |
parent | d16e7994c8b2ed38beb8bae6f4b1292987b627af (diff) | |
download | linux-cd22cbad1b800e55f5bd38c58be16f9d0b171d9a.tar.xz |
cgroup: Minor reorganization of cgroup_create()
cgroup_bpf init and exit handling will be moved to a notifier chain. In
prepartion, reorganize cgroup_create() a bit so that the new cgroup is fully
initialized before any outside changes are made.
- cgrp->ancestors[] initialization and the hierarchical nr_descendants and
nr_frozen_descendants updates were in the same loop. Separate them out and
do the former earlier and do the latter later.
- Relocate cgroup_bpf_inherit() call so that it's after all cgroup
initializations are complete.
No visible behavior changes expected.
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions