4768e6
From 487ff7b0e537506057960a0c2d9482d19f2acf4a Mon Sep 17 00:00:00 2001
4768e6
From: Peter Robinson <pbrobinson@gmail.com>
4768e6
Date: Wed, 26 Apr 2017 11:12:54 +0100
4768e6
Subject: [PATCH] Add option of 13 for FORCE_MAX_ZONEORDER
4768e6
4768e6
This is a hack, but it's what the other distros currently use
4768e6
for aarch64 with 4K pages so we'll do the same while upstream
4768e6
decides what the best outcome is (which isn't this).
4768e6
4768e6
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
4768e6
---
4768e6
 arch/arm64/Kconfig | 1 +
4768e6
 1 file changed, 1 insertion(+)
4768e6
4768e6
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
4768e6
index 3741859765cf..deec9511f1d3 100644
4768e6
--- a/arch/arm64/Kconfig
4768e6
+++ b/arch/arm64/Kconfig
4768e6
@@ -751,6 +751,7 @@ config XEN
4768e6
 config FORCE_MAX_ZONEORDER
4768e6
 	int
4768e6
 	default "14" if (ARM64_64K_PAGES && TRANSPARENT_HUGEPAGE)
4768e6
+	default "13" if (ARCH_THUNDER && !ARM64_64K_PAGES)
4768e6
 	default "12" if (ARM64_16K_PAGES && TRANSPARENT_HUGEPAGE)
4768e6
 	default "11"
4768e6
 	help
4768e6
-- 
4768e6
2.12.2
4768e6