Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:XXX: This creates per-node group entries; since the load-balancer will* immediately access remote memory to construct this group's load-balance* statistics having the groups node local is of dubious benefit.

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

Type:struct

Parameter:

TypeParameterName
struct sched_domain *sd
intcpu
882  sg = kzalloc_node - allocate zeroed memory from a particular memory node.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc).*@node: memory node from which to allocate
885  If Not sg Then Return NULL
888  sg_span = sched_group_span(sg)
889  If child Then pumask_copy - *dstp = *srcp*@dstp: the result*@srcp: the input cpumask
891  Else pumask_copy - *dstp = *srcp*@dstp: the result*@srcp: the input cpumask
894  atomic_inc( & ref)
895  Return sg
Caller
NameDescribe
build_overlap_sched_groups