Function report |
Source Code:kernel\cgroup\cgroup.c |
Create Date:2022-07-28 11:11:27 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:group_exit - detach cgroup from exiting task*@tsk: pointer to task_struct of exiting process* Description: Detach cgroup from @tsk.
Proto:void cgroup_exit(struct task_struct *tsk)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | tsk |
5988 | spin_lock_irq( & css_set_lock) |
5991 | cset = ask_css_set - obtain a task's css_set*@task: the task to obtain css_set for* See task_css_set_check(). |
5996 | WARN_ON_ONCE(cgroup_task_frozen(tsk)) |
6000 | spin_unlock_irq( & css_set_lock) |
6003 | Do |
6003 | __ss_mask = have_exit_callback |
6003 | If Not CGROUP_SUBSYS_COUNT Then |
6003 | i = 0 |
6003 | Break |
6003 | When i < CGROUP_SUBSYS_COUNT cycle |
6003 | ss = cgroup_subsys[i] |
6005 | 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 |