函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Ensure topology masks are sane, i.e. there are no conflicts (overlaps) for* any two given CPUs at this (non-NUMA) topology level.

函数原型:static bool topology_span_sane(struct sched_domain_topology_level *tl, const struct cpumask *cpu_map, int cpu)

返回类型:bool

参数:

类型参数名称
struct sched_domain_topology_level *tl
const struct cpumask *cpu_map
intcpu
1892  如果flags按位与SDTL_OVERLAP则返回:true
1902  如果i恒等于cpu则继续下一循环
1910  如果非pumask_equal - *src1p == *src2p*@src1p: the first input*@src2p: the second inputpumask_intersects - (*src1p & *src2p) != 0*@src1p: the first input*@src2p: the second input则返回:false
1915  返回:true
调用者
名称描述
build_sched_domainsBuild sched domains for a given set of CPUs and attach the sched domains* to the individual CPUs