Function report |
Source Code:arch\x86\kernel\cpu\hygon.c |
Create Date:2022-07-28 07:58:36 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:srat_detect_node
Proto:static void srat_detect_node(struct cpuinfo_x86 *c)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct cpuinfo_x86 * | c |
| 131 | cpu = smp_processor_id() |
| 135 | node = numa_cpu_node(cpu) |
| 136 | If node == NUMA_NO_NODE Then node = per_cpu(Last level cache ID of each logical CPU , cpu) |
| 144 | If fixup_cpu_id Then fixup_cpu_id(c, node) |
| 147 | If Not node_online(node) Then |
| 166 | ht_nodeid = initial_apicid |
| 174 | numa_set_node(cpu, node) |
| Name | Describe |
|---|---|
| init_hygon |
| 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 |