Function report |
Source Code:kernel\cgroup\cpuset.c |
Create Date:2022-07-28 11:16:10 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:pdate task's spread flag if cpuset's page/slab spread flag is set* Call with callback_lock or cpuset_mutex held.
Proto:static void cpuset_update_task_spread_flag(struct cpuset *cs, struct task_struct *tsk)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct cpuset * | cs | |
| struct task_struct * | tsk |
| 425 | If is_spread_page(cs) Then task_set_spread_page(tsk) |
| 427 | Else task_clear_spread_page(tsk) |
| 430 | If is_spread_slab(cs) Then task_set_spread_slab(tsk) |
| 432 | Else task_clear_spread_slab(tsk) |
| Name | Describe |
|---|---|
| update_tasks_flags | pdate_tasks_flags - update the spread flags of tasks in the cpuset |
| cpuset_attach |
| 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 |