Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:memblock_enforce_memory_limit

Proto:void __init memblock_enforce_memory_limit(phys_addr_t limit)

Type:void

Parameter:

TypeParameterName
phys_addr_tlimit
1689  max_addr = PHYS_ADDR_MAX
1691  If Not limit Then Return
1694  max_addr = __find_max_addr(limit)
1697  If max_addr == PHYS_ADDR_MAX Then Return
1701  memblock_remove_range( & memory, max_addr, PHYS_ADDR_MAX)
1703  memblock_remove_range( & reserved, max_addr, PHYS_ADDR_MAX)