Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:group_fork - initialize cgroup related fields during copy_process()*@child: pointer to task_struct of forking parent process.* A task is associated with the init_css_set until cgroup_post_fork()* attaches it to the parent's css_set

Proto:void cgroup_fork(struct task_struct *child)

Type:void

Parameter:

TypeParameterName
struct task_struct *child
5864  RCU_INIT_POINTER() - initialize an RCU protected pointer*@p: The pointer to be initialized.*@v: The value to initialized the pointer to.* Initialize an RCU-protected pointer in special cases where readers( Control Group info protected by css_set_lock: , & The default css_set - used by init and its children prior to any* hierarchies being mounted)
5865  Initialization list head