Skip to content

Commit

Permalink
mips: Select SPARSEMEM_EXTREME
Browse files Browse the repository at this point in the history
Commit c461731 ("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 <[email protected]>
Signed-off-by: Alexander Sverdlin <[email protected]>
Signed-off-by: Thomas Bogendoerfer <[email protected]>
  • Loading branch information
asverdlin authored and tsbogend committed Sep 9, 2022
1 parent ba912af commit 727488e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/mips/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2669,7 +2669,6 @@ config ARCH_FLATMEM_ENABLE

config ARCH_SPARSEMEM_ENABLE
bool
select SPARSEMEM_STATIC if !SGI_IP27

config NUMA
bool "NUMA Support"
Expand Down

0 comments on commit 727488e

Please sign in to comment.