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: Jon Masters <jcm@redhat.com>
Pablo Greco 7b2c62
Date: Thu, 18 Jul 2019 15:47:26 -0400
Pablo Greco 7b2c62
Subject: [PATCH] arm: make CONFIG_HIGHPTE optional without CONFIG_EXPERT
Pablo Greco 7b2c62
Pablo Greco 7b2c62
We will use this to force CONFIG_HIGHPTE off on LPAE for now
Pablo Greco 7b2c62
Pablo Greco 7b2c62
Signed-off-by: Jon Masters <jcm@redhat.com>
Pablo Greco 7b2c62
---
Pablo Greco 7b2c62
 arch/arm/Kconfig | 4 ++--
Pablo Greco 7b2c62
 1 file changed, 2 insertions(+), 2 deletions(-)
Pablo Greco 7b2c62
Pablo Greco 7b2c62
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
Pablo Greco 7b2c62
index e00d94b16658..4db48405b23a 100644
Pablo Greco 7b2c62
--- a/arch/arm/Kconfig
Pablo Greco 7b2c62
+++ b/arch/arm/Kconfig
Pablo Greco 7b2c62
@@ -1514,9 +1514,9 @@ config HIGHMEM
Pablo Greco 7b2c62
 	  If unsure, say n.
Pablo Greco 7b2c62
Pablo Greco 7b2c62
 config HIGHPTE
Pablo Greco 7b2c62
-	bool "Allocate 2nd-level pagetables from highmem" if EXPERT
Pablo Greco 7b2c62
+	bool "Allocate 2nd-level pagetables from highmem"
Pablo Greco 7b2c62
 	depends on HIGHMEM
Pablo Greco 7b2c62
-	default y
Pablo Greco 7b2c62
+	default n
Pablo Greco 7b2c62
 	help
Pablo Greco 7b2c62
 	  The VM uses one page of physical memory for each page table.
Pablo Greco 7b2c62
 	  For systems with a lot of processes, this can use a lot of
Pablo Greco 7b2c62
-- 
Pablo Greco 7b2c62
2.28.0
Pablo Greco 7b2c62