projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7c7118
)
arm64: add ARM64-specific support for flatmem
author
Nikunj Kela
<
[email protected]
>
Fri, 6 Jul 2018 17:47:24 +0000
(10:47 -0700)
committer
Will Deacon
<
[email protected]
>
Mon, 9 Jul 2018 11:57:25 +0000
(12:57 +0100)
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]
>
arch/arm64/Kconfig
patch
|
blob
|
history
diff --git
a/arch/arm64/Kconfig
b/arch/arm64/Kconfig
index 476de9b1d239a9b888ebd19215a04582f8e50280..c548b3dd48abcd76a3e4feb0ba2d45bc75fe8856 100644
(file)
--- a/
arch/arm64/Kconfig
+++ b/
arch/arm64/Kconfig
@@
-786,6
+786,9
@@
config ARCH_SPARSEMEM_DEFAULT
config ARCH_SELECT_MEMORY_MODEL
def_bool ARCH_SPARSEMEM_ENABLE
+config ARCH_FLATMEM_ENABLE
+ def_bool y
+
config HAVE_ARCH_PFN_VALID
def_bool ARCH_HAS_HOLES_MEMORYMODEL || !SPARSEMEM