[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220906095943.60296-2-alexander.sverdlin@nokia.com>
Date: Tue, 6 Sep 2022 11:59:42 +0200
From: Alexander A Sverdlin <alexander.sverdlin@...ia.com>
To: linux-mips@...r.kernel.org
Cc: Alexander Sverdlin <alexander.sverdlin@...ia.com>,
Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
linux-kernel@...r.kernel.org
Subject: [PATCH] mips: Select SPARSEMEM_EXTREME for CAVIUM_OCTEON_SOC
From: Alexander Sverdlin <alexander.sverdlin@...ia.com>
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.
Signed-off-by: Alexander Sverdlin <alexander.sverdlin@...ia.com>
---
arch/mips/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index ec21f89..79cfa1c 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -2669,7 +2669,7 @@ config ARCH_FLATMEM_ENABLE
config ARCH_SPARSEMEM_ENABLE
bool
- select SPARSEMEM_STATIC if !SGI_IP27
+ select SPARSEMEM_STATIC if MACH_LOONGSON64
config NUMA
bool "NUMA Support"
--
2.10.2
Powered by blists - more mailing lists