Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__free_pages_memory

Proto:static void __init __free_pages_memory(unsigned long start, unsigned long end)

Type:void

Parameter:

TypeParameterName
unsigned longstart
unsigned longend
1935  When start < end cycle
1936  order = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(Free memory management - zoned buddy allocator. - 1UL, __ffs - find first set bit in word*@word: The word to search* Undefined if no bit exists, so code should check against 0 first.)
1938  When start + (1UL << order) > end cycle
1939  order--
1941  memblock_free_pages(pfn_to_page(start), start, order)
1943  start += 1UL << order
Caller
NameDescribe
__free_memory_core