chengshan / rpms / kernel

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