函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\cgroup\cgroup.c Create Date:2022-07-27 12:11:10
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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.

函数原型:static void cgroup_restore_control(struct cgroup *cgrp)

返回类型:void

参数:

类型参数名称
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
调用者
名称描述
cgroup_finalize_control