| Function report | 
| Source Code: kernel\cgroup\cgroup.c | Create Date:2022-07-28 11:11:25 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:group_post_fork - called on a new task after adding it to the task list*@child: the task in question* Adds the task to the list running through its css_set if necessary and* call the subsystem fork() callbacks
Proto:void cgroup_post_fork(struct task_struct *child)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct task_struct * | child | 
| 5933 | spin_lock_irq( & css_set_lock) | 
| 5936 | If Value is more likely to compile time(process id) Then | 
| 5952 | siglock protected |= JOBCTL_TRAP_FREEZE | 
| 5953 | spin_unlock( & siglock) | 
| 5963 | spin_unlock_irq( & css_set_lock) | 
| 5970 | Do | 
| 5970 | __ss_mask = These bitmasks identify subsystems with specific features to avoid* having to do iterative checks repeatedly. | 
| 5970 | If Not CGROUP_SUBSYS_COUNT Then | 
| 5970 | i = 0 | 
| 5970 | Break | 
| 5970 | When i < CGROUP_SUBSYS_COUNT cycle | 
| 5970 | ss = cgroup_subsys[i] | 
| 5972 | When (false) cycle | 
| 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 |