函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:group_rstat_updated - keep track of updated rstat_cpu*@cgrp: target cgroup*@cpu: cpu on which rstat_cpu was updated*@cgrp's rstat_cpu on @cpu was updated. Put it on the parent's matching* rstat_cpu->updated_children list. See the comment on top of

函数原型:void cgroup_rstat_updated(struct cgroup *cgrp, int cpu)

返回类型:void

参数:

类型参数名称
struct cgroup *cgrp
intcpu
27  cpu_lock等于per_cpu_ptr( & cgroup_rstat_cpu_lock, cpu)
32  如果非cgroup_parent(cgrp)则返回
39  smp_mb()
46  如果NULL iff not on the list 则返回
49  raw_spin_lock_irqsave(cpu_lock, flags)
52 parent循环
54  rstatc等于cgroup_rstat_cpu(cgrp, cpu)
55  prstatc等于cgroup_rstat_cpu(parent, cpu)
61  如果NULL iff not on the list 退出
64  NULL iff not on the list 等于rminated by self cgroup
65  rminated by self cgroup 等于cgrp
68  raw_spin_unlock_irqrestore(cpu_lock, flags)
调用者
名称描述
cgroup_base_stat_cputime_account_end
blkcg_bio_issue_check