Thread (19 messages) 19 messages, 8 authors, 2026-01-08

Re: [PATCH 1/4] arch/*: increase lowmem size to avoid highmem use

From: Dave Hansen <hidden>
Date: 2025-12-19 18:02:46
Also in: linux-arm-kernel, linux-fsdevel, linux-mm

On 12/19/25 08:15, Arnd Bergmann wrote:
quoted hunk ↗ jump to hunk
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -1416,7 +1416,9 @@ config HIGHMEM4G
 
 choice
 	prompt "Memory split" if EXPERT
-	default VMSPLIT_3G
+	default VMSPLIT_2G_OPT if HIGHMEM && !X86_PAE
+	default VMSPLIT_2G if X86_PAE
+	default VMSPLIT_3G_OPT
 	depends on X86_32
For simplicity, I think this can just be:

-	default VMSPLIT_3G
+	default VMSPLIT_2G

I doubt the 2G vs. 2G_OPT matters in very many cases. If it does, folks
can just set it in their config manually.

But, in the end, I don't this this matters all that much. If you think
having x86 be consistent with ARM, for example, is more important and
ARM really wants this complexity, I can live with it.

Either way:

Acked-by: Dave Hansen <dave.hansen@linux.intel.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help