Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:parent_ca

Proto:static inline struct cpuacct *parent_ca(struct cpuacct *ca)

Type:struct cpuacct

Parameter:

TypeParameterName
struct cpuacct *ca
48  Return css_ca(PI: the parent css. Placed here for cache proximity to following* fields of the containing structure.)
Caller
NameDescribe
cpuacct_chargeharge this task's execution time to its accounting group.* called with rq->lock held.
cpuacct_account_fieldAdd user/system time to cpuacct.* Note: it's the caller that updates the account of the root cgroup.