Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\cgroup\cgroup.c Create Date:2022-07-28 11:09:21
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:cgroup_finalize_control

Proto:static void cgroup_finalize_control(struct cgroup *cgrp, int ret)

Type:void

Parameter:

TypeParameterName
struct cgroup *cgrp
intret
3169  If ret Then
3170  group_restore_control - restore control masks and dom_cgrp of a subtree*@cgrp: root of the target subtree* Restore ->subtree_control, ->subtree_ss_mask and ->dom_cgrp from the* respective old_ prefixed fields for @cgrp's subtree including @cgrp* itself.
3171  group_propagate_control - refresh control masks of a subtree*@cgrp: root of the target subtree* For @cgrp and its subtree, ensure ->subtree_ss_mask matches* ->subtree_control and propagate controller availability through the
3174  group_apply_control_disable - kill or hide csses according to control*@cgrp: root of the target subtree* Walk @cgrp's subtree and kill and hide csses so that they match* cgroup_ss_mask() and cgroup_visible_mask()
Caller
NameDescribe
rebind_subsystems
cgroup_subtree_control_writehange the enabled child controllers for a cgroup in the default hierarchy
cgroup_enable_threadedgroup_enable_threaded - make @cgrp threaded*@cgrp: the target cgroup* Called when "threaded" is written to the cgroup.type interface file and* tries to make @cgrp threaded and join the parent's resource domain.