函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Make sure the new task conform to the current state of its parent,* which could have been changed by cpuset just after it inherits the* state from the parent and before it sits on the cgroup's task list.

函数原型:static void cpuset_fork(struct task_struct *task)

返回类型:void

参数:

类型参数名称
struct task_struct *task
2860  如果测试任务是否属于根的CSS则返回
2863  set_cpus_allowed_ptr(task, cpus_ptr)
2864  mems_allowed等于mems_allowed