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_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.

Proto:static void cgroup_restore_control(struct cgroup *cgrp)

Type:void

Parameter:

TypeParameterName
struct cgroup *cgrp
3015  walk live descendants in postorder (dsct, d_css, cgrp)
3016  * 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 = old_subtree_control
3017  subtree_ss_mask = old_subtree_ss_mask
3018  * If !threaded, self. If threaded, it points to the nearest * domain ancestor. Inside a threaded subtree, cgroups are exempt * from process granularity and no-internal-task constraint. * Domain level resource consumptions which aren't tied to a * specific = used while enabling threaded
Caller
NameDescribe
cgroup_finalize_control