mips: Select SPARSEMEM_EXTREME
authorAlexander Sverdlin <alexander.sverdlin@nokia.com>
Fri, 9 Sep 2022 09:30:42 +0000 (11:30 +0200)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Fri, 9 Sep 2022 15:37:27 +0000 (17:37 +0200)
commit727488e305b223ca69205ca5a3b99ace21bbbf5f
treedc3daf6c632bbadd149f55cf5724162fbf64ecf1
parentba912afbd611d3a5f22af247721a071ad1d5b9e0
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>
arch/mips/Kconfig