All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: make highpte an expert option
@ 2015-09-15 20:37 Russell King
  0 siblings, 0 replies; 2+ messages in thread
From: Russell King @ 2015-09-15 20:37 UTC (permalink / raw)
  To: linux-arm-kernel

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>
---
 arch/arm/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 17ac5d26ebaa..02eb51b6d324 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1711,8 +1711,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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] ARM: make highpte an expert option
@ 2015-08-11 14:32 Russell King
  0 siblings, 0 replies; 2+ messages in thread
From: Russell King @ 2015-08-11 14:32 UTC (permalink / raw)
  To: linux-arm-kernel

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@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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-15 20:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-15 20:37 [PATCH] ARM: make highpte an expert option Russell King
  -- strict thread matches above, loose matches on Subject: below --
2015-08-11 14:32 Russell King

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.