Function report |
Source Code:arch\x86\kernel\cpu\hygon.c |
Create Date:2022-07-28 07:58:33 |
| 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 |
| 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 | If node != NUMA_NO_NODE && node_online(node) Then Return node |
| 44 | When i < MAX_LOCAL_APIC cycle |
| 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 | If node != NUMA_NO_NODE && node_online(node) Then Return node |
| 49 | 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 |