summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2015-06-25 12:44:08 +0300
committerRussell King <rmk+kernel@arm.linux.org.uk>2015-10-03 18:47:09 +0300
commit9a431bd5a26ca7db8ab251a75e006aa8b145718e (patch)
tree1df212fd9c6ed5ec5f7b37d5e3d32d14d597eca0
parent63ce446c9b5787a94ed875bab20772e1a2b3092f (diff)
downloadlinux-9a431bd5a26ca7db8ab251a75e006aa8b145718e.tar.xz
ARM: make highpte an expert option
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. Add some help text to the option while we're here. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r--arch/arm/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 0e740686efd3..5f4858011bff 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1697,8 +1697,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