函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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

函数原型:void cgroup_fork(struct task_struct *child)

返回类型:void

参数:

类型参数名称
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  初始化链表头
调用者
名称描述
copy_process创建进程