Justin Vreeland 794d92
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
Justin Vreeland 794d92
From: Peter Robinson <pbrobinson@gmail.com>
Justin Vreeland 794d92
Date: Wed, 26 Feb 2020 13:38:40 -0500
Justin Vreeland 794d92
Subject: [PATCH] Add option of 13 for FORCE_MAX_ZONEORDER
Justin Vreeland 794d92
Justin Vreeland 794d92
This is a hack, but it's what the other distros currently use
Justin Vreeland 794d92
for aarch64 with 4K pages so we'll do the same while upstream
Justin Vreeland 794d92
decides what the best outcome is (which isn't this).
Justin Vreeland 794d92
Justin Vreeland 794d92
Upstream Status: RHEL only
Justin Vreeland 794d92
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Justin Vreeland 794d92
[Add a dependency on RHEL_DIFFERENCES]
Justin Vreeland 794d92
Signed-off-by: Jeremy Cline <jcline@redhat.com>
Justin Vreeland 794d92
---
Justin Vreeland 794d92
 arch/arm64/Kconfig | 1 +
Justin Vreeland 794d92
 1 file changed, 1 insertion(+)
Justin Vreeland 794d92
Justin Vreeland 794d92
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
Justin Vreeland 794d92
index 74c5325108c0..5aa22996be8c 100644
Justin Vreeland 794d92
--- a/arch/arm64/Kconfig
Justin Vreeland 794d92
+++ b/arch/arm64/Kconfig
Justin Vreeland 794d92
@@ -1133,6 +1133,7 @@ config XEN
Justin Vreeland 794d92
 config FORCE_MAX_ZONEORDER
Justin Vreeland 794d92
 	int
Justin Vreeland 794d92
 	default "14" if (ARM64_64K_PAGES && TRANSPARENT_HUGEPAGE)
Justin Vreeland 794d92
+	default "13" if (ARCH_THUNDER && !ARM64_64K_PAGES && !RHEL_DIFFERENCES)
Justin Vreeland 794d92
 	default "12" if (ARM64_16K_PAGES && TRANSPARENT_HUGEPAGE)
Justin Vreeland 794d92
 	default "11"
Justin Vreeland 794d92
 	help
Justin Vreeland 794d92
-- 
Justin Vreeland 794d92
2.28.0
Justin Vreeland 794d92