浏览代码

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 年之前
父节点
当前提交
9a431bd5a2
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      arch/arm/Kconfig

+ 2 - 1
arch/arm/Kconfig

@@ -1697,8 +1697,9 @@ config HIGHMEM
 	  If unsure, say n.
 	  If unsure, say n.
 
 
 config HIGHPTE
 config HIGHPTE
-	bool "Allocate 2nd-level pagetables from highmem"
+	bool "Allocate 2nd-level pagetables from highmem" if EXPERT
 	depends on HIGHMEM
 	depends on HIGHMEM
+	default y
 	help
 	help
 	  The VM uses one page of physical memory for each page table.
 	  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
 	  For systems with a lot of processes, this can use a lot of