[PATCH v2 2/2] ARM: topdown mmap support
zhangfei gao
zhangfei.gao at gmail.com
Wed Oct 24 08:22:45 EDT 2012
On Fri, Nov 18, 2011 at 5:47 AM, Rob Herring <robherring2 at gmail.com> wrote:
> From: Rob Herring <rob.herring at calxeda.com>
>
> Similar to other architectures, this adds topdown mmap support in user
> process address space allocation policy. This allows mmap sizes greater
> than 2GB. This support is largely copied from MIPS and the generic
> implementations.
>
> The address space randomization is moved into arch_pick_mmap_layout.
>
> Tested on V-Express with ubuntu and a mmap test from here:
> https://bugs.launchpad.net/bugs/861296
>
> Signed-off-by: Rob Herring <rob.herring at calxeda.com>
> Acked-by: Nicolas Pitre <nico at linaro.org>
Unfortunately, we met "no vspace available" during loading libmono.so,
when using default arch_get_unmapped_area_topdown method, tested on
Jelly Bean with 3.4 kernel.
While no problem using arch_get_unmapped_area in the patch, or just
revert this patch.
The result is some application can not run.
Just google, find same issue reported on Jelly Bean with 3.4 kernel.
Any suggestion?
Thanks
More information about the linux-arm-kernel
mailing list