Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__visit_domain_allocation_hell

Proto:static enum s_alloc __visit_domain_allocation_hell(struct s_data *d, const struct cpumask *cpu_map)

Type:enum s_alloc

Parameter:

TypeParameterName
struct s_data *d
const struct cpumask *cpu_map
1239  memset(d, 0, size of d )
1241  If __sdt_alloc(cpu_map) Then Return sa_sd_storage
1243  sd = alloc_percpu(structsched_domain * )
1244  If Not sd Then Return sa_sd_storage
1246  rd = alloc_rootdomain()
1247  If Not rd Then Return sa_sd
1250  Return sa_rootdomain
Caller
NameDescribe
build_sched_domainsBuild sched domains for a given set of CPUs and attach the sched domains* to the individual CPUs