函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\hygon.c |
Create Date:2022-07-27 08:59:01 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:To workaround broken NUMA config. Read the comment in* srat_detect_node().
函数原型:static int nearby_node(int apicid)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
int | apicid |
40 | node等于__apicid_to_node[] stores the raw mapping between physical apicid and* node and is used to initialize cpu_to_node mapping[i] |
41 | 如果node不等于NUMA_NO_NODE且NUMA节点状态(node)则返回:node |
44 | 以i小于MAX_LOCAL_APIC循环 |
45 | node等于__apicid_to_node[] stores the raw mapping between physical apicid and* node and is used to initialize cpu_to_node mapping[i] |
46 | 如果node不等于NUMA_NO_NODE且NUMA节点状态(node)则返回:node |
49 | 返回:FIXME: better would be to fix all architectures to never return> MAX_NUMNODES, then the silly min_ts could be dropped. (node_online_map) |
名称 | 描述 |
---|---|
srat_detect_node |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |