]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1ea9e76418810dfe122e2f3513752dfbd7a1e092
treedc3daf6c632bbadd149f55cf5724162fbf64ecf1
parentfedc3bbc5d6ccd1fb655113b6b52bff5a9750755
mips: Select SPARSEMEM_EXTREME

Commit 80ae8438b8ca ("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