[PATCH 15/16] mm: use vm_unmapped_area() on sparc32 architecture

David Miller davem at davemloft.net
Mon Nov 5 20:25:01 EST 2012


From: Michel Lespinasse <walken at google.com>
Date: Mon,  5 Nov 2012 14:47:12 -0800

> Update the sparc32 arch_get_unmapped_area function to make use of
> vm_unmapped_area() instead of implementing a brute force search.
> 
> Signed-off-by: Michel Lespinasse <walken at google.com>

Hmmm...

> -	if (flags & MAP_SHARED)
> -		addr = COLOUR_ALIGN(addr);
> -	else
> -		addr = PAGE_ALIGN(addr);

What part of vm_unmapped_area() is going to duplicate this special
aligning logic we need on sparc?



More information about the linux-arm-kernel mailing list