函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:cgroup_account_cputime_field

函数原型:static inline void cgroup_account_cputime_field(struct task_struct *task, enum cpu_usage_stat index, u64 delta_exec)

返回类型:void

参数:

类型参数名称
struct task_struct *task
enum cpu_usage_statindex
u64delta_exec
788  cpuacct_account_field(task, index, delta_exec)
790  _read_lock() - mark the beginning of an RCU read-side critical section* When synchronize_rcu() is invoked on one CPU while other CPUs* are within RCU read-side critical sections, then the* synchronize_rcu() is guaranteed to block until after all the other
791  cgrp等于task_dfl_cgroup(task)
792  如果cgroup_parent(cgrp)则__cgroup_account_cputime_field(cgrp, index, delta_exec)
794  _read_unlock() - marks the end of an RCU read-side critical section.* In most situations, rcu_read_unlock() is immune from deadlock.* However, in kernels built with CONFIG_RCU_BOOST, rcu_read_unlock()
调用者
名称描述
task_group_account_field