Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\topology.c Create Date:2022-07-28 09:42:01
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Build the balance mask; it contains only those CPUs that can arrive at this* group and should be considered to continue balancing

Proto:static void build_balance_mask(struct sched_domain *sd, struct sched_group *sg, struct cpumask *mask)

Type:void

Parameter:

TypeParameterName
struct sched_domain *sd
struct sched_group *sg
struct cpumask *mask
842  sg_span = sched_group_span(sg)
843  sdd = private
847  pumask_clear - clear all cpus (< nr_cpu_ids) in a cpumask*@dstp: the cpumask pointer
850  sibling = per_cpu_ptr(sd, i)
857  If Not child Then Continue
861  If Not pumask_equal - *src1p == *src2p*@src1p: the first input*@src2p: the second input Then Continue
864  pumask_set_cpu - set a cpu in a cpumask*@cpu: cpu number (< nr_cpu_ids)*@dstp: the cpumask pointer
868  WARN_ON_ONCE(pumask_empty - *srcp == 0*@srcp: the cpumask to that all cpus < nr_cpu_ids are clear.)
Caller
NameDescribe
init_overlap_sched_group