Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:cgroup_apply_control

Proto:static int cgroup_apply_control(struct cgroup *cgrp)

Type:int

Parameter:

TypeParameterName
struct cgroup *cgrp
3142  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
3144  ret = group_apply_control_enable - enable or show csses according to control*@cgrp: root of the target subtree* Walk @cgrp's subtree and create new csses or make the existing ones* visible. A css is created invisible if it's being implicitly enabled
3145  If ret Then Return ret
3153  ret = group_update_dfl_csses - update css assoc of a subtree in default hierarchy*@cgrp: root of the subtree to update csses for*@cgrp's control masks have changed and its subtree's css associations* need to be updated accordingly
3154  If ret Then Return ret
3157  Return 0
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.