Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:free_low_memory_core_early

Proto:static unsigned long __init free_low_memory_core_early(void)

Type:unsigned long

Parameter:Nothing

1964  count = 0
1968  memblock_clear_hotplug(0, - 1)
1970  r_each_reserved_mem_region - iterate over all reserved memblock areas*@i: u64 used as loop variable*@p_start: ptr to phys_addr_t for start address of the range, can be %NULL*@p_end: ptr to phys_addr_t for end address of the range, can be %NULL(i, & start, & end)
1971  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.
1978  r_each_free_mem_range - iterate through free memblock areas*@i: u64 used as loop variable*@nid: node selector, %NUMA_NO_NODE for all nodes*@flags: pick from blocks based on memory attributes*@p_start: ptr to phys_addr_t for start address of the range, can (i, NUMA_NO_NODE, No special request , & start, & end, NULL)
1980  count += __free_memory_core(start, end)
1982  Return count
Caller
NameDescribe
memblock_free_allmemblock_free_all - release free pages to the buddy allocator* Return: the number of pages actually released.