Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:memmap_init

Proto:void __meminit __weak memmap_init(unsigned long size, int nid, unsigned long zone, unsigned long start_pfn)

Type:void

Parameter:

TypeParameterName
unsigned longsize
intnid
unsigned longzone
unsigned longstart_pfn
6010  Initially all pages are reserved - free ones are freed* up by memblock_free_all() once the early boot process is* done. Non-atomic initialization, single-pass.
Caller
NameDescribe
free_area_init_coreSet up the zone data structures:* - mark all pages reserved* - mark all memory queues empty* - clear the memory bitmaps* NOTE: pgdat should get zeroed by caller.* NOTE: this function is only called during early init.