Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sd_parent_degenerate

Proto:static int sd_parent_degenerate(struct sched_domain *sd, struct sched_domain *parent)

Type:int

Parameter:

TypeParameterName
struct sched_domain *sd
struct sched_domain *parent
176  cflags = flags , pflags = flags
178  If sd_degenerate(parent) Then Return 1
181  If Not pumask_equal - *src1p == *src2p*@src1p: the first input*@src2p: the second input Then Return 0
185  If groups == next Then
186  pflags &= ~( SD_LOAD_BALANCE | SD_BALANCE_NEWIDLE | SD_BALANCE_FORK | SD_BALANCE_EXEC | SD_ASYM_CPUCAPACITY | SD_SHARE_CPUCAPACITY | SD_SHARE_PKG_RESOURCES | SD_PREFER_SIBLING | SD_SHARE_POWERDOMAIN)
195  If nr_node_ids == 1 Then pflags &= ~SD_SERIALIZE
198  If ~cflags & pflags Then Return 0
201  Return 1
Caller
NameDescribe
cpu_attach_domainAttach the domain 'sd' to 'cpu' as its base domain. Callers must* hold the hotplug lock.