函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:cpuset_cancel_attach

函数原型:static void cpuset_cancel_attach(struct cgroup_taskset *tset)

返回类型:void

参数:

类型参数名称
struct cgroup_taskset *tset
2146  group_taskset_first - reset taskset and return the first task*@tset: taskset of interest*@dst_cssp: output variable for the destination css*@tset iteration is initialized and the first task is returned.
2148  percpu_down_write( & cpuset_rwsem)
2149  * Tasks are being attached to this cpuset. Used to prevent * zeroing cpus/mems_allowed between ->can_attach() and ->attach().自减
2150  percpu_up_write( & cpuset_rwsem)