Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

Proto:void cgroup_rstat_flush_hold(struct cgroup *cgrp)__acquires(&cgroup_rstat_lock)

Type:void

Parameter:

TypeParameterName
struct cgroup *cgrp
238  might_sleep()
239  spin_lock_irq( & cgroup_rstat_lock)
240  see cgroup_rstat_flush()
Caller
NameDescribe
cgroup_base_stat_cputime_show