Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sd_degenerate

Proto:static int sd_degenerate(struct sched_domain *sd)

Type:int

Parameter:

TypeParameterName
struct sched_domain *sd
150  If pumask_weight - Count of bits in *srcp*@srcp: the cpumask to count bits (< nr_cpu_ids) in. == 1 Then Return 1
154  If flags & ( SD_LOAD_BALANCE | SD_BALANCE_NEWIDLE | SD_BALANCE_FORK | SD_BALANCE_EXEC | SD_SHARE_CPUCAPACITY | SD_ASYM_CPUCAPACITY | SD_SHARE_PKG_RESOURCES | SD_SHARE_POWERDOMAIN) Then
162  If groups != next Then Return 0
167  If flags & SD_WAKE_AFFINE Then Return 0
170  Return 1
Caller
NameDescribe
sd_parent_degenerate
cpu_attach_domainAttach the domain 'sd' to 'cpu' as its base domain. Callers must* hold the hotplug lock.