函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:A system can have three types of NUMA topology:* NUMA_DIRECT: all nodes are directly connected, or not a NUMA system* NUMA_GLUELESS_MESH: some nodes reachable through intermediary nodes* NUMA_BACKPLANE: nodes can reach other nodes through a backplane* The

函数原型:static void init_numa_topology_type(void)

返回类型:void

参数:

1523  n等于sched_max_numa_distance
1525  如果sched_domains_numa_levels小于等于2则
1526  sched_numa_topology_type等于NUMA_DIRECT
1527  返回
1530  for_each_online_node(a)
1533  如果node_distance(a, b)小于n则继续下一循环
1538  如果node_distance(a, c)小于nnode_distance(b, c)小于n
1542  返回
1547  返回
调用者
名称描述
sched_init_numa