chengshan / rpms / kernel

Forked from rpms/kernel 2 years ago
Clone
Pablo Greco d6c4c4
From 19908e5fe3e63ed2d39f0a8a9135f35fd428d766 Mon Sep 17 00:00:00 2001
Pablo Greco d6c4c4
From: Jon Masters <jcm@redhat.com>
Pablo Greco d6c4c4
Date: Thu, 18 Jul 2019 15:47:26 -0400
Pablo Greco d6c4c4
Subject: [PATCH] arm: make CONFIG_HIGHPTE optional without CONFIG_EXPERT
Pablo Greco d6c4c4
Pablo Greco d6c4c4
We will use this to force CONFIG_HIGHPTE off on LPAE for now
Pablo Greco d6c4c4
Pablo Greco d6c4c4
Signed-off-by: Jon Masters <jcm@redhat.com>
Pablo Greco d6c4c4
---
Pablo Greco d6c4c4
 arch/arm/Kconfig | 4 ++--
Pablo Greco d6c4c4
 1 file changed, 2 insertions(+), 2 deletions(-)
Pablo Greco d6c4c4
Pablo Greco d6c4c4
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
Pablo Greco d6c4c4
index 2bf1ce39a96d..e792b3e60095 100644
Pablo Greco d6c4c4
--- a/arch/arm/Kconfig
Pablo Greco d6c4c4
+++ b/arch/arm/Kconfig
Pablo Greco d6c4c4
@@ -1644,9 +1644,9 @@ config HIGHMEM
Pablo Greco d6c4c4
 	  If unsure, say n.
Pablo Greco d6c4c4
 
Pablo Greco d6c4c4
 config HIGHPTE
Pablo Greco d6c4c4
-	bool "Allocate 2nd-level pagetables from highmem" if EXPERT
Pablo Greco d6c4c4
+	bool "Allocate 2nd-level pagetables from highmem"
Pablo Greco d6c4c4
 	depends on HIGHMEM
Pablo Greco d6c4c4
-	default y
Pablo Greco d6c4c4
+	default n
Pablo Greco d6c4c4
 	help
Pablo Greco d6c4c4
 	  The VM uses one page of physical memory for each page table.
Pablo Greco d6c4c4
 	  For systems with a lot of processes, this can use a lot of
Pablo Greco d6c4c4
-- 
Pablo Greco d6c4c4
2.17.2
Pablo Greco d6c4c4