函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:psi_cgroup_alloc

函数原型:int psi_cgroup_alloc(struct cgroup *cgroup)

返回类型:int

参数:

类型参数名称
struct cgroup *cgroup
869  如果static_branch_likely( & psi_disabled)则返回:0
872  pcpu等于alloc_percpu(structpsi_group_cpu)
873  如果非pcpu则返回:负ENOMEM
875  group_init( & used to track pressure stalls )
876  返回:0
调用者
名称描述
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.