aboutsummaryrefslogtreecommitdiff
path: root/include/linux/overflow.h
diff options
context:
space:
mode:
authorUsama Arif <[email protected]>2023-09-13 11:54:00 +0100
committerAndrew Morton <[email protected]>2023-10-04 10:32:30 -0700
commit77e6c43e137c130138c3fbadc847351a83c4befe (patch)
treed93ff3743c36fee1c6a060df4cfa1600f1de92d9 /include/linux/overflow.h
parentee8d2071ef52d83a2ac4f8a474fafb2aea91766d (diff)
memblock: introduce MEMBLOCK_RSRV_NOINIT flag
For reserved memory regions marked with this flag, reserve_bootmem_region is not called during memmap_init_reserved_pages. This can be used to avoid struct page initialization for regions which won't need them, for e.g. hugepages with Hugepage Vmemmap Optimization enabled. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Usama Arif <[email protected]> Acked-by: Muchun Song <[email protected]> Reviewed-by: Mike Rapoport (IBM) <[email protected]> Cc: Fam Zheng <[email protected]> Cc: Mike Kravetz <[email protected]> Cc: Punit Agrawal <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions