Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:cpuset_bind

Proto:static void cpuset_bind(struct cgroup_subsys_state *root_css)

Type:void

Parameter:

TypeParameterName
struct cgroup_subsys_state *root_css
2837  percpu_down_write( & cpuset_rwsem)
2838  spin_lock_irq( & callback_lock)
2840  If Cgroup v2 behavior is used when on default hierarchy or the* cgroup_v2_mode flag is set. Then
2841  pumask_copy - *dstp = *srcp*@dstp: the result*@srcp: the input cpumask
2842  mems_allowed = node_possible_map
2843  Else
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)