Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\cgroup\cpuset.c Create Date:2022-07-28 11:17:22
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:static void cpuset_fork(struct task_struct *task)

Type:void

Parameter:

TypeParameterName
struct task_struct *task
2860  If ask_css_is_root - test whether a task belongs to the root css*@task: the target task*@subsys_id: the target subsystem ID* Test whether @task belongs to the root css on the specified subsystem.* May be invoked in any context. Then Return
2863  set_cpus_allowed_ptr(task, cpus_ptr)
2864  mems_allowed = mems_allowed