函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\topology.c Create Date:2022-07-27 10:42:36
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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.

函数原型:static struct *build_group_from_child_sched_domain(struct sched_domain *sd, int cpu)

返回类型:struct

参数:

类型参数名称
struct sched_domain *sd
intcpu
882  sg等于根据内存节点分配内存
885  如果非sg则返回:NULL
888  sg_span等于sched_group_span(sg)
889  如果childpumask_copy - *dstp = *srcp*@dstp: the result*@srcp: the input cpumask
891  否则pumask_copy - *dstp = *srcp*@dstp: the result*@srcp: the input cpumask
894  atomic_inc( & ref)
895  返回:sg
调用者
名称描述
build_overlap_sched_groups