imperfectism / rpms / kernel

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