Function report |
Source Code:kernel\cgroup\cgroup.c |
Create Date:2022-07-28 11:08:45 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:group_migrate_add_task - add a migration target task to a migration context*@task: target task*@mgctx: target migration context* Add @task, which is a migration target, to @mgctx->tset. This function* becomes noop if @task doesn't need to be migrated
Proto:static void cgroup_migrate_add_task(struct task_struct *task, struct cgroup_mgctx *mgctx)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct task_struct * | task | |
| struct cgroup_mgctx * | mgctx |
| 2295 | lockdep_assert_held( & css_set_lock) |
| 2298 | If Per task flags (PF_*), defined further below: & Getting shut down Then Return |
| 2304 | cset = ask_css_set - obtain a task's css_set*@task: the task to obtain css_set for* See task_css_set_check(). |
| 2308 | he number of tasks in the set ++ |
| Name | Describe |
|---|---|
| cgroup_migrate | group_migrate - migrate a process or task to a cgroup*@leader: the leader of the process or the task to migrate*@threadgroup: whether @leader points to the whole process or a single task*@mgctx: migration context |
| cgroup_update_dfl_csses | group_update_dfl_csses - update css assoc of a subtree in default hierarchy*@cgrp: root of the subtree to update csses for*@cgrp's control masks have changed and its subtree's css associations* need to be updated accordingly |
| 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 |