Function report |
Source Code:arch\x86\kernel\cpu\amd.c |
Create Date:2022-07-28 07:58:11 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:To workaround broken NUMA config. Read the comment in* srat_detect_node().
Proto:static int nearby_node(int apicid)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | apicid |
| 294 | node = __apicid_to_node[] stores the raw mapping between physical apicid and* node and is used to initialize cpu_to_node mapping[i] |
| 295 | If node != NUMA_NO_NODE && node_online(node) Then Return node |
| 298 | When i < MAX_LOCAL_APIC cycle |
| 299 | node = __apicid_to_node[] stores the raw mapping between physical apicid and* node and is used to initialize cpu_to_node mapping[i] |
| 300 | If node != NUMA_NO_NODE && node_online(node) Then Return node |
| 303 | Return FIXME: better would be to fix all architectures to never return> MAX_NUMNODES, then the silly min_ts could be dropped. (node_online_map) |
| Name | Describe |
|---|---|
| srat_detect_node |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |