Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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

Proto:static void cgroup_propagate_control(struct cgroup *cgrp)

Type:void

Parameter:

TypeParameterName
struct cgroup *cgrp
2994  walk live descendants in preorder (dsct, d_css, cgrp)
2995  * The bitmask of subsystems enabled on the child cgroups. * ->subtree_control is the one configured through * "cgroup.subtree_control" while ->child_ss_mask is the effective * one which may have more subsystems enabled. Controller knobs * are made availabl &= subsystems visibly enabled on a cgroup
2996  subtree_ss_mask = group_calc_subtree_ss_mask - calculate subtree_ss_mask*@subtree_control: the new subtree_control mask to consider*@this_ss_mask: available subsystems* On the default hierarchy, a subsystem may request other subsystems to be
Caller
NameDescribe
cgroup_apply_control
cgroup_finalize_control
cgroup_createThe returned cgroup is fully initialized including its control mask, but* it isn't associated with its kernfs_node and doesn't have the control* mask applied.