函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:cgroup_rstat_exit

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

返回类型:void

参数:

类型参数名称
struct cgroup *cgrp
278  group_rstat_flush - flush stats in @cgrp's subtree*@cgrp: target cgroup* Collect all per-cpu stats in @cgrp's subtree into the global counters* and propagate them upwards
281  遍历可用CPU(cpu)
282  rstatc等于cgroup_rstat_cpu(cgrp, cpu)
284  如果WARN_ON_ONCE(rminated by self cgroup != cgrp)或WARN_ON_ONCE(NULL iff not on the list )则返回
289  释放内存
290  per-cpu recursive resource statistics = NULL
调用者
名称描述
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.
css_free_rwork_fnss destruction is four-stage process