Function report |
Source Code:kernel\cgroup\freezer.c |
Create Date:2022-07-28 11:13:50 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Freeze or unfreeze the task by setting or clearing the JOBCTL_TRAP_FREEZE* jobctl bit.
Proto:static void cgroup_freeze_task(struct task_struct *task, bool freeze)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | task | |
bool | freeze |
160 | If Not lock_task_sighand(task, & flags) Then Return |
163 | If freeze Then |
165 | signal_wake_up(task, false) |
166 | Else |
167 | siglock protected &= ~JOBCTL_TRAP_FREEZE |
171 | unlock_task_sighand(task, & flags) |
Name | Describe |
---|---|
cgroup_do_freeze | Freeze or unfreeze all tasks in the given cgroup. |
cgroup_freezer_migrate_task | Adjust the task state (freeze or unfreeze) and revisit the state of* source and destination cgroups. |
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 |