[PATCH 2/2] ARM: topdown mmap support

Nicolas Pitre nico at fluxnic.net
Mon Nov 14 12:41:15 EST 2011


On Mon, 7 Nov 2011, Rob Herring 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.

This is a problem by effectively weakening the randomization greatly.  
Now you get a random starting point but all mmaps are otherwise fixed 
relative to each other, whereas you had random distances between each 
mmaps before.


Nicolas



More information about the linux-arm-kernel mailing list