Function Report

Linux Kernel (v4.4)

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

Function Name:cgroup_post_fork

Function:void cgroup_post_fork(struct task_struct *child, void *old_ss_priv[ ])

Return Type:void


Type Parameter NameRemarks
struct task_struct * child the task in question
void * old_ss_priv

Function description: called on a new task after adding it to the task list

5607  If use_task_css_set_links then
5610  spin_lock_bh( &css_set_lock)
5611  A css_set is a structure holding pointers to a set of cgroup_subsys_state objects = obtain a task's css_set
5616  spin_unlock_bh( &css_set_lock)
5625  filter for_each_subsys with a bitmaskControl Group subsystem type. See Documentation/cgroups/cgroups.txt for details
Function NameFunction description
copy_processCreate a new process