Re: [PATCH 15/16] mm: use vm_unmapped_area() on sparc32architecture

From: David Miller
Date: Mon Nov 05 2012 - 20:24:57 EST


From: Michel Lespinasse <walken@xxxxxxxxxx>
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@xxxxxxxxxx>

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?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/