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.
Unified · Split
| @@ -2669,7 +2669,6 @@ config ARCH_FLATMEM_ENABLE · 2668 unmodified lines | ||
| 2669 | 2669 | |
| 2670 | 2670 | config ARCH_SPARSEMEM_ENABLE |
| 2671 | 2671 | bool |
| 2672 | − select SPARSEMEM_STATIC if !SGI_IP27 | |
| 2673 | 2672 | |
| 2674 | 2673 | config NUMA |
| 2675 | 2674 | bool "NUMA Support" |