Przeglądaj źródła

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 lat temu
rodzic
commit
9a431bd5a2
1 zmienionych plików z 2 dodań i 1 usunięć
  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