[PATCH v2 2/2] ARM: topdown mmap support

Nicolas Pitre nico at fluxnic.net
Mon Nov 21 22:44:30 EST 2011


On Mon, 21 Nov 2011, Rob Herring wrote:

> On 11/17/2011 03:47 PM, 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.
> > 
> > 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>
> > ---
> > v2: 
> > - remove icache_is_vipt_aliasing check
> > 
> >  arch/arm/include/asm/pgtable.h   |    1 +
> >  arch/arm/include/asm/processor.h |    2 +
> >  arch/arm/mm/mmap.c               |  173 ++++++++++++++++++++++++++++++++++++-
> >  3 files changed, 171 insertions(+), 5 deletions(-)
> > 
> 
> Russell,
> 
> I submitted these 2 patches to the patch system. Can you please pull
> into your next branch so they can get some more testing.

For the record, I included an earlier version of those patches in the 
Linaro kernel a week ago, and no breakage were reported so far.


Nicolas



More information about the linux-arm-kernel mailing list