函数逻辑报告

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

函数名称:cpuset_bind

函数原型:static void cpuset_bind(struct cgroup_subsys_state *root_css)

返回类型:void

参数:

类型参数名称
struct cgroup_subsys_state *root_css
2837  percpu_down_write( & cpuset_rwsem)
2838  spin_lock_irq( & callback_lock)
2840  如果Cgroup v2 behavior is used when on default hierarchy or the* cgroup_v2_mode flag is set.
2841  pumask_copy - *dstp = *srcp*@dstp: the result*@srcp: the input cpumask
2842  mems_allowed等于node_possible_map
2843  否则
2844  pumask_copy - *dstp = *srcp*@dstp: the result*@srcp: the input cpumask
2846  mems_allowed等于effective_mems
2849  spin_unlock_irq( & callback_lock)
2850  percpu_up_write( & cpuset_rwsem)