mips: Select SPARSEMEM_EXTREME
PATCH v2 1/1 mips: Select SPARSEMEM_EXTREME
From: Alexander Sverdlin <[email protected]>
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.
--- arch/mips/Kconfig | 1 - 1 file changed, 1 deletion(-)
arch/mips/Kconfig +0 -1
@@ -2669,7 +2669,6 @@ config ARCH_FLATMEM_ENABLE config ARCH_SPARSEMEM_ENABLE bool - select SPARSEMEM_STATIC if !SGI_IP27 config NUMA bool "NUMA Support"
Signature · 1 line
2.10.2
Thomas Bogendoerfer
maintainerQuoted 29 lines · Alexander A Sverdlin
From: Alexander Sverdlin <[email protected]>
Commit
c46173183657("MIPS: Add NUMA support for Loongson-3") has increased .bss size of the Octeon kernel from 16k to 16M. Providing the conditions forSPARSEMEM_EXTREMEavoids 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 <[email protected]>Signed-off-by Alexander Sverdlin <[email protected]>--- arch/mips/Kconfig | 1 - 1 file changed, 1 deletion(-)arch/mips/Kconfig +0
-1@@ -2669,7 +2669,6 @@ config ARCH_FLATMEM_ENABLE config ARCH_SPARSEMEM_ENABLE bool - select SPARSEMEM_STATIC if !SGI_IP27 config NUMA bool "NUMA Support"Signature · 1 line
2.10.2
thank for the change, applied to mips-fixes.
Thomas.
Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]