Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

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:

TypeParameterName
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
5441  When zone_type cycle
5443  Return nr_zones
Caller
NameDescribe
build_zonelists_in_node_orderBuild 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_zonelistsBuild gfp_thisnode zonelists