Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

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:

TypeParameterName
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)
Caller
NameDescribe
update_tasks_flagspdate_tasks_flags - update the spread flags of tasks in the cpuset
cpuset_attach