| Function report | 
| 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 activity | Download SCCT | Chinese | 
Name:psi_cgroup_alloc
Proto:int psi_cgroup_alloc(struct cgroup *cgroup)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct cgroup * | cgroup | 
| 869 | If static_branch_likely( & psi_disabled) Then Return 0 | 
| 872 | pcpu = alloc_percpu(structpsi_group_cpu) | 
| 875 | group_init( & used to track pressure stalls ) | 
| 876 | Return 0 | 
| Name | Describe | 
|---|---|
| cgroup_create | The 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. | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |