函数逻辑报告 |
Source Code:kernel\sched\psi.c |
Create Date:2022-07-27 10:47:01 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:psi_task_change
函数原型:void psi_task_change(struct task_struct *task, int clear, int set)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct task_struct * | task | |
| int | clear | |
| int | set |
| 751 | bool wake_clock = true |
| 752 | void * iter = NULL |
| 754 | 如果非进程ID则返回 |
| 780 | 当group等于iterate_groups(task, & iter)循环 |
| 781 | state_mask等于psi_group_change(group, cpu, clear, set) |
| 名称 | 描述 |
|---|---|
| psi_memstall_enter | psi_memstall_enter - mark the beginning of a memory stall section*@flags: flags to handle nested sections* Marks the calling task as being stalled due to a lack of memory,* such as waiting for a refault or performing reclaim. |
| psi_memstall_leave | psi_memstall_leave - mark the end of an memory stall section*@flags: flags to handle nested memdelay sections* Marks the calling task as no longer stalled due to lack of memory. |
| cgroup_move_task | 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 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |