* [PATCH V2] MXS: Remove MMAP_MIN_ADDR setting from mxs_defconfig
@ 2012-08-03 18:54 Marek Vasut
2012-08-04 14:09 ` Shawn Guo
0 siblings, 1 reply; 2+ messages in thread
From: Marek Vasut @ 2012-08-03 18:54 UTC (permalink / raw)
To: linux-arm-kernel
The CONFIG_DEFAULT_MMAP_MIN_ADDR was set to 65536 in mxs_defconfig,
this caused severe breakage of userland applications since the upper
limit for ARM is 32768. By default CONFIG_DEFAULT_MMAP_MIN_ADDR is
set to 4096 and can also be changed via /proc/sys/vm/mmap_min_addr
if needed.
Quoting Russell King [1]:
"4096 is also fine for ARM too. There's not much point in having
defconfigs change it - that would just be pure noise in the config
files."
the CONFIG_DEFAULT_MMAP_MIN_ADDR can be removed from the defconfig
altogether.
This problem was introduced by:
commit cde7c41feaa06cb6bfc748b2fc3c7d809091c2b0
Author: Wolfram Sang <w.sang@pengutronix.de>
Date: Fri Apr 29 15:06:40 2011 +0200
ARM: configs: add defconfig for mach-mxs
[1] http://marc.info/?l=linux-arm-kernel&m=134401593807820&w=2
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Shawn Guo <shawn.guo@linaro.org>
Cc: Wolfgang Denk <wd@denx.de>
---
arch/arm/configs/mxs_defconfig | 1 -
1 file changed, 1 deletion(-)
V2: Remove the setting altogether
Update description
diff --git a/arch/arm/configs/mxs_defconfig b/arch/arm/configs/mxs_defconfig
index ccdb635..4edcfb4 100644
--- a/arch/arm/configs/mxs_defconfig
+++ b/arch/arm/configs/mxs_defconfig
@@ -34,7 +34,6 @@ CONFIG_NO_HZ=y
CONFIG_HIGH_RES_TIMERS=y
CONFIG_PREEMPT_VOLUNTARY=y
CONFIG_AEABI=y
-CONFIG_DEFAULT_MMAP_MIN_ADDR=65536
CONFIG_AUTO_ZRELADDR=y
CONFIG_FPE_NWFPE=y
CONFIG_NET=y
--
1.7.10.4
^ permalink raw reply related [flat|nested] 2+ messages in thread* [PATCH V2] MXS: Remove MMAP_MIN_ADDR setting from mxs_defconfig
2012-08-03 18:54 [PATCH V2] MXS: Remove MMAP_MIN_ADDR setting from mxs_defconfig Marek Vasut
@ 2012-08-04 14:09 ` Shawn Guo
0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2012-08-04 14:09 UTC (permalink / raw)
To: linux-arm-kernel
Again, patch subject should be like "ARM: mxs: ...".
On Fri, Aug 03, 2012 at 08:54:48PM +0200, Marek Vasut wrote:
> The CONFIG_DEFAULT_MMAP_MIN_ADDR was set to 65536 in mxs_defconfig,
> this caused severe breakage of userland applications since the upper
> limit for ARM is 32768. By default CONFIG_DEFAULT_MMAP_MIN_ADDR is
> set to 4096 and can also be changed via /proc/sys/vm/mmap_min_addr
> if needed.
>
> Quoting Russell King [1]:
>
> "4096 is also fine for ARM too. There's not much point in having
> defconfigs change it - that would just be pure noise in the config
> files."
>
> the CONFIG_DEFAULT_MMAP_MIN_ADDR can be removed from the defconfig
> altogether.
>
> This problem was introduced by:
>
> commit cde7c41feaa06cb6bfc748b2fc3c7d809091c2b0
> Author: Wolfram Sang <w.sang@pengutronix.de>
> Date: Fri Apr 29 15:06:40 2011 +0200
>
> ARM: configs: add defconfig for mach-mxs
>
We generally quote another commit in commit message like
cde7c41 (ARM: configs: add defconfig for mach-mxs)
> [1] http://marc.info/?l=linux-arm-kernel&m=134401593807820&w=2
>
> Signed-off-by: Marek Vasut <marex@denx.de>
> Cc: Russell King <linux@arm.linux.org.uk>
> Cc: Shawn Guo <shawn.guo@linaro.org>
> Cc: Wolfgang Denk <wd@denx.de>
We should Cc stable.
I just fixed them and queued the patch for 3.6-rc.
Regards,
Shawn
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-08-04 14:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-03 18:54 [PATCH V2] MXS: Remove MMAP_MIN_ADDR setting from mxs_defconfig Marek Vasut
2012-08-04 14:09 ` Shawn Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).