Browse Source

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>
Russell King 10 năm trước cách đây
mục cha
commit
9a431bd5a2
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      arch/arm/Kconfig

+ 2 - 1
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