Function report |
Source Code:mm\page_alloc.c |
Create Date:2022-07-28 15:06:55 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Builds allocation fallback zone lists.* Add all populated zones of a node to the zonelist.
Proto:static int build_zonerefs_node(pg_data_t *pgdat, struct zoneref *zonerefs)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| pg_data_t * | pgdat | |
| struct zoneref * | zonerefs |
| 5431 | zone_type = MAX_NR_ZONES |
| 5432 | nr_zones = 0 |
| 5434 | Do |
| 5435 | zone_type-- |
| 5436 | zone = node_zones + zone_type |
| 5438 | zoneref_set_zone(zone, & zonerefs[nr_zones++]) |
| 5439 | check_highest_zone(zone_type) |
| 5443 | Return nr_zones |
| Name | Describe |
|---|---|
| build_zonelists_in_node_order | Build zonelists ordered by node and zones within node.* This results in maximum locality--normal zone overflows into local* DMA zone, if any--but risks exhausting DMA zone. |
| build_thisnode_zonelists | Build gfp_thisnode 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 |