Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\cgroup.h Create Date:2022-07-28 05:55:03
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:cgroup_account_cputime_field

Proto:static inline void cgroup_account_cputime_field(struct task_struct *task, enum cpu_usage_stat index, u64 delta_exec)

Type:void

Parameter:

TypeParameterName
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  If cgroup_parent(cgrp) Then __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()
Caller
NameDescribe
task_group_account_field