Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:NULL the sd_data elements we've used to build the sched_domain and* sched_group structure so that the subsequent __free_domain_allocs()* will not free the data we're using.

Proto:static void claim_allocations(int cpu, struct sched_domain *sd)

Type:void

Parameter:

TypeParameterName
intcpu
struct sched_domain *sd
1260  sdd = private
1262  WARN_ON_ONCE( * per_cpu_ptr(sd, cpu) != sd)
1263  * per_cpu_ptr(sd, cpu) = NULL
1265  If atomic_read( & ref) Then * per_cpu_ptr(sds, cpu) = NULL
1268  If atomic_read( & ref) Then * per_cpu_ptr(sg, cpu) = NULL
1271  If atomic_read( & ref) Then * per_cpu_ptr(sgc, cpu) = NULL
Caller
NameDescribe
build_sched_domainsBuild sched domains for a given set of CPUs and attach the sched domains* to the individual CPUs