函数逻辑报告 | 
Source Code:kernel\sched\psi.c | 
Create Date:2022-07-27 10:47:06 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:group_move_task - move task to a different cgroup*@task: the task*@to: the target css_set* Move task to a new cgroup and safely migrate its associated stall* state between the different groups
函数原型:void cgroup_move_task(struct task_struct *task, struct css_set *to)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct task_struct * | task | |
| struct css_set * | to | 
| 904 | task_flags等于0 | 
| 908 | 如果static_branch_likely( & psi_disabled)则 | 
| 914 | 返回 | 
| 919 | 如果进程处于任务队列则task_flags等于TSK_RUNNING | 
| 921 | 否则如果in_iowait则task_flags等于TSK_IOWAIT | 
| 924 | 如果任务标志按位与Stalled due to lack of memory 则task_flags或等于TSK_MEMSTALL | 
| 927 | 如果task_flags则psi_task_change(task, task_flags, 0) | 
| 933 | 如果task_flags则psi_task_change(task, 0, task_flags) | 
| 936 | task_rq_unlock(rq, task, & rf) | 
| 名称 | 描述 | 
|---|---|
| css_set_move_task | ss_set_move_task - move a task from one css_set to another*@task: task being moved*@from_cset: css_set @task currently belongs to (may be NULL)*@to_cset: new css_set @task is being moved to (may be NULL)*@use_mg_tasks: move to @to_cset->mg_tasks instead | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |