Skip to content

Commit e7d4bac

Browse files
Nikunj Kelawildea01
authored andcommitted
arm64: add ARM64-specific support for flatmem
Flatmem is useful in reducing kernel memory usage. One usecase is in kdump kernel. We are able to save ~14M by moving to flatmem scheme. Cc: [email protected] Cc: Nikunj Kela <[email protected]> Signed-off-by: Nikunj Kela <[email protected]> Signed-off-by: Will Deacon <[email protected]>
1 parent d7c7118 commit e7d4bac

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

arch/arm64/Kconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -786,6 +786,9 @@ config ARCH_SPARSEMEM_DEFAULT
786786
config ARCH_SELECT_MEMORY_MODEL
787787
def_bool ARCH_SPARSEMEM_ENABLE
788788

789+
config ARCH_FLATMEM_ENABLE
790+
def_bool y
791+
789792
config HAVE_ARCH_PFN_VALID
790793
def_bool ARCH_HAS_HOLES_MEMORYMODEL || !SPARSEMEM
791794

0 commit comments

Comments
 (0)