函数逻辑报告 |
Source Code:kernel\cgroup\cgroup.c |
Create Date:2022-07-27 12:10:37 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:static void cgroup_migrate_add_task(struct task_struct *task, struct cgroup_mgctx *mgctx)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | task | |
struct cgroup_mgctx * | mgctx |
2295 | lockdep_assert_held( & css_set_lock) |
2298 | 如果任务标志按位与Getting shut down 则返回 |
2302 | WARN_ON_ONCE(链表为空) |
2304 | cset等于获得任务的css_set |
2308 | he number of tasks in the set 自加 |
2310 | 链表项移动到尾部 |
名称 | 描述 |
---|---|
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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |