diff options
author | Alexander Sverdlin <alexander.sverdlin@nokia.com> | 2022-09-09 11:30:42 +0200 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2022-09-09 17:37:27 +0200 |
commit | 727488e305b223ca69205ca5a3b99ace21bbbf5f (patch) | |
tree | dc3daf6c632bbadd149f55cf5724162fbf64ecf1 /arch/mips/Kconfig | |
parent | ba912afbd611d3a5f22af247721a071ad1d5b9e0 (diff) | |
download | lwn-727488e305b223ca69205ca5a3b99ace21bbbf5f.tar.gz lwn-727488e305b223ca69205ca5a3b99ace21bbbf5f.zip |
mips: Select SPARSEMEM_EXTREME
Commit c46173183657 ("MIPS: Add NUMA support for Loongson-3") has increased
.bss size of the Octeon kernel from 16k to 16M. Providing the conditions
for SPARSEMEM_EXTREME avoids the waste of memory.
Thomas has tested the loogsoon64 kernel, where .bss is being reduced by
this patch from 16.5M to 515k.
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Alexander Sverdlin <alexander.sverdlin@nokia.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r-- | arch/mips/Kconfig | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index ec21f8999249..25dd4c5a8ef5 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -2669,7 +2669,6 @@ config ARCH_FLATMEM_ENABLE config ARCH_SPARSEMEM_ENABLE bool - select SPARSEMEM_STATIC if !SGI_IP27 config NUMA bool "NUMA Support" |