Function report |
Source Code:mm\page_alloc.c |
Create Date:2022-07-28 15:07:07 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Build zonelists ordered by zone and nodes within zones.* This results in conserving DMA zone[s] until all Normal memory is* exhausted, but results in overflowing to remote node while memory* may still exist in local DMA zone.
Proto:static void build_zonelists(pg_data_t *pgdat)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| pg_data_t * | pgdat |
| 5611 | nr_nodes = 0 |
| 5616 | local_node = node_id |
| 5617 | load = nr_online_nodes |
| 5618 | prev_node = local_node |
| 5619 | nodes_clear(used_mask) |
| 5621 | memset(node_order, 0, size of node_order ) |
| 5628 | If node_distance(local_node, node) != node_distance(local_node, prev_node) Then node_load[node] = load |
| 5632 | node_order[nr_nodes++] = node |
| 5634 | load-- |
| Name | Describe |
|---|---|
| __build_all_zonelists |
| 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 |