函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\page_alloc.c Create Date:2022-07-27 16:33:49
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Initialised pages do not have PageReserved set. This function is* called for each range allocated by the bootmem allocator and* marks the pages PageReserved. The remaining valid pages are later* sent to the buddy page allocator.

函数原型:void __meminit reserve_bootmem_region(phys_addr_t start, phys_addr_t end)

返回类型:void

参数:

类型参数名称
phys_addr_tstart
phys_addr_tend
1392  start_pfn等于PFN_DOWN(start)
1393  end_pfn等于PFN_UP(end)
1395 start_pfn小于end_pfn循环
1396  如果pfn_valid(start_pfn)则
1397  page等于pfn_to_page(start_pfn)
调用者
名称描述
free_low_memory_core_early