jianhai / rpms / kernel

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