zhang / rpms / kernel

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