diff options
| author | Usama Arif <[email protected]> | 2023-09-13 10:54:00 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-10-04 17:32:30 +0000 |
| commit | 77e6c43e137c130138c3fbadc847351a83c4befe (patch) | |
| tree | d93ff3743c36fee1c6a060df4cfa1600f1de92d9 /mm/hugetlb.c | |
| parent | memblock: pass memblock_type to memblock_setclr_flag (diff) | |
| download | kernel-77e6c43e137c130138c3fbadc847351a83c4befe.tar.gz kernel-77e6c43e137c130138c3fbadc847351a83c4befe.zip | |
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 'mm/hugetlb.c')
0 files changed, 0 insertions, 0 deletions
