[PATCH] ARM: make highpte an expert option

Russell King rmk+kernel at arm.linux.org.uk
Tue Aug 11 07:32:33 PDT 2015


When highmem is enabled, there's little reason not to also enable
highpte support as well.  Rather than leaving this to chance, make
it an expert option, and default it to be enabled if highmem is
enabled.

Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>
---
 arch/arm/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index adf2412ba4d4..f418885d9c3d 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1708,8 +1708,9 @@ config HIGHMEM
 	  If unsure, say n.
 
 config HIGHPTE
-	bool "Allocate 2nd-level pagetables from highmem"
+	bool "Allocate 2nd-level pagetables from highmem" if EXPERT
 	depends on HIGHMEM
+	default y
 	help
 	  The VM uses one page of physical memory for each page table.
 	  For systems with a lot of processes, this can use a lot of
-- 
2.1.0




More information about the linux-arm-kernel mailing list