函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\cgroup\cpuset.c Create Date:2022-07-27 12:18:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:pdate task's spread flag if cpuset's page/slab spread flag is set* Call with callback_lock or cpuset_mutex held.

函数原型:static void cpuset_update_task_spread_flag(struct cpuset *cs, struct task_struct *tsk)

返回类型:void

参数:

类型参数名称
struct cpuset *cs
struct task_struct *tsk
425  如果is_spread_page(cs)则task_set_spread_page(tsk)
427  否则task_clear_spread_page(tsk)
430  如果is_spread_slab(cs)则task_set_spread_slab(tsk)
432  否则task_clear_spread_slab(tsk)
调用者
名称描述
update_tasks_flagspdate_tasks_flags - update the spread flags of tasks in the cpuset
cpuset_attach