Function report |
Source Code:kernel\sched\psi.c |
Create Date:2022-07-28 09:46:39 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:psi_task_change
Proto:void psi_task_change(struct task_struct *task, int clear, int set)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct task_struct * | task | |
| int | clear | |
| int | set |
| 751 | bool wake_clock = true |
| 752 | void * iter = NULL |
| 754 | If Not process id Then Return |
| 780 | When group = iterate_groups(task, & iter) cycle |
| 781 | state_mask = psi_group_change(group, cpu, clear, set) |
| Name | Describe |
|---|---|
| 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 |
| 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 |