函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:group_rstat_flush_begin - flush stats in @cgrp's subtree and hold*@cgrp: target cgroup* Flush stats in @cgrp's subtree and prevent further flushes. Must be* paired with cgroup_rstat_flush_release().* This function may block.

函数原型:void cgroup_rstat_flush_hold(struct cgroup *cgrp)__acquires(&cgroup_rstat_lock)

返回类型:void

参数:

类型参数名称
struct cgroup *cgrp
238  might_sleep()
239  spin_lock_irq( & cgroup_rstat_lock)
240  see cgroup_rstat_flush()
调用者
名称描述
cgroup_base_stat_cputime_show