Function Report

Linux Kernel (v4.4)

Source File:kernel\cgroup.c Create Date:2016-01-14 11:28:17
Last Modify:2016-01-11 07:01:32 Copyright©Brick
home page Tree
Annotate the kernelChinese

Function Name:cgroup_fork

Function:void cgroup_fork(struct task_struct *child)

Return Type:void

Parameter:

Type Parameter NameRemarks
struct task_struct * childisn't holding reference to its css_set.

Function description:initialize cgroup related fields during copy_process

5515  RCU_INIT_POINTER()- initialize an RCU protected pointer
5516  Initialization list head
Caller
Function NameFunction description
copy_processCreate a new process