Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:When CONFIG_HUGETLB_PAGE_SIZE_VARIABLE is not set, set_pageblock_order()* is unused as pageblock_order is set at compile-time. See* include/linux/pageblock-flags.h for the values of pageblock_order based on* the kernel config

Proto:void __init set_pageblock_order(void)

Type:void

Parameter:Nothing

NULL

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.
sparse_initAllocate the accumulated non-linear sections, allocate a mem_map* for each and record the physical to section mapping.