Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\page_alloc.c Create Date:2022-07-28 15:07:03
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:static void build_zonelists_in_node_order(pg_data_t *pgdat, int *node_order, unsigned nr_nodes)

Type:void

Parameter:

TypeParameterName
pg_data_t *pgdat
int *node_order
unsignednr_nodes
5572  zonerefs = _zonerefs
5574  When i < nr_nodes cycle
5577  node = NODE_DATA(node_order[i])
5579  nr_zones = Builds allocation fallback zone lists.* Add all populated zones of a node to the zonelist.
5580  zonerefs += nr_zones
5582  Pointer to actual zone = NULL
5583  zone_idx(zoneref->zone) = 0
Caller
NameDescribe
build_zonelistsBuild 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.