Function report |
Source Code:kernel\sched\topology.c |
Create Date:2022-07-28 09:42:31 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:static void init_numa_topology_type(void)
Type:void
Parameter:Nothing
| 1523 | n = sched_max_numa_distance |
| 1525 | If sched_domains_numa_levels <= 2 Then |
| 1527 | Return |
| 1530 | for_each_online_node(a) |
| 1531 | for_each_online_node(b) |
| 1533 | If node_distance(a, b) < n Then Continue |
| 1537 | for_each_online_node(c) |
| 1538 | If node_distance(a, c) < n && node_distance(b, c) < n Then |
| 1542 | Return |
| 1547 | Return |
| Name | Describe |
|---|---|
| sched_init_numa |
| 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 |