From: rmk+kernel@arm.linux.org.uk (Russell King)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC PATCH] ARM: enable highmem by default on ARMv6/ARMv7 CPUs
Date: Tue, 15 Sep 2015 21:38:52 +0100 [thread overview]
Message-ID: <E1Zbx08-0001A3-PQ@rmk-PC.arm.linux.org.uk> (raw)
ARMv6 and ARMv7 normally have more than 1G of memory, so it makes sense
to have highmem enabled by default. Users can still turn highmem off if
they wish by enabling the EXPERT option, which then allows the option to
be visible.
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 02eb51b6d324..49250dc9856b 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1694,8 +1694,9 @@ config HAVE_GENERIC_RCU_GUP
depends on ARM_LPAE
config HIGHMEM
- bool "High Memory Support"
+ bool "High Memory Support" if !(CPU_32v6 || CPU_32v7) || EXPERT
depends on MMU
+ default y if CPU_32v6 || CPU_32v7
help
The address space of ARM processors is only 4 Gigabytes large
and it has to accommodate user address space, kernel address
--
2.1.0
next reply other threads:[~2015-09-15 20:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-15 20:38 Russell King [this message]
2015-09-15 21:22 ` [RFC PATCH] ARM: enable highmem by default on ARMv6/ARMv7 CPUs Arnd Bergmann
2015-09-25 11:14 ` Enrico Weigelt, metux IT consult
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1Zbx08-0001A3-PQ@rmk-PC.arm.linux.org.uk \
--to=rmk+kernel@arm.linux.org.uk \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox