diff options
author | Tejun Heo <tj@kernel.org> | 2025-05-14 00:43:41 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2025-05-22 09:19:57 -1000 |
commit | cd22cbad1b800e55f5bd38c58be16f9d0b171d9a (patch) | |
tree | d0b807182dd227a90029cdd67f2abc76ae6d7bca /scripts/lib/kdoc/kdoc_output.py | |
parent | d16e7994c8b2ed38beb8bae6f4b1292987b627af (diff) |
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 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions