Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:psi_cgroup_alloc

Proto:int psi_cgroup_alloc(struct cgroup *cgroup)

Type:int

Parameter:

TypeParameterName
struct cgroup *cgroup
869  If static_branch_likely( & psi_disabled) Then Return 0
872  pcpu = alloc_percpu(structpsi_group_cpu)
873  If Not pcpu Then Return -ENOMEM
875  group_init( & used to track pressure stalls )
876  Return 0
Caller
NameDescribe
cgroup_createThe returned cgroup is fully initialized including its control mask, but* it isn't associated with its kernfs_node and doesn't have the control* mask applied.