[patch 2/2] mm: use vm_unmapped_area() on powerpc architecture

2013-02-21 Thread akpm
From: Michel Lespinasse Subject: mm: use vm_unmapped_area() on powerpc architecture Update the powerpc slice_get_unmapped_area function to make use of vm_unmapped_area() instead of implementing a brute force search. Signed-off-by: Michel Lespinasse Cc: Benjamin Herrenschmidt Cc: Paul Mackerras

Re: [patch 2/2] mm: use vm_unmapped_area() on powerpc architecture

2013-03-18 Thread Aneesh Kumar K.V
a...@linux-foundation.org writes: > From: Michel Lespinasse > Subject: mm: use vm_unmapped_area() on powerpc architecture > > Update the powerpc slice_get_unmapped_area function to make use of > vm_unmapped_area() instead of implementing a brute force search. > > Signed-off-by: Michel Lespinasse

Re: [patch 2/2] mm: use vm_unmapped_area() on powerpc architecture

2013-03-18 Thread Aneesh Kumar K.V
a...@linux-foundation.org writes: > From: Michel Lespinasse > Subject: mm: use vm_unmapped_area() on powerpc architecture > > Update the powerpc slice_get_unmapped_area function to make use of > vm_unmapped_area() instead of implementing a brute force search. > > Signed-off-by: Michel Lespinasse

Re: [patch 2/2] mm: use vm_unmapped_area() on powerpc architecture

2013-03-18 Thread Michel Lespinasse
On Mon, Mar 18, 2013 at 4:12 AM, Aneesh Kumar K.V wrote: > how about ? > > static bool slice_scan_available(unsigned long addr, > struct slice_mask available, > int end, > unsigned long *boundary_ad

Re: [patch 2/2] mm: use vm_unmapped_area() on powerpc architecture

2013-03-18 Thread Aneesh Kumar K.V
Michel Lespinasse writes: > On Mon, Mar 18, 2013 at 4:12 AM, Aneesh Kumar K.V > wrote: >> how about ? >> >> static bool slice_scan_available(unsigned long addr, >> struct slice_mask available, >> int end, >>

Re: [patch 2/2] mm: use vm_unmapped_area() on powerpc architecture

2013-03-18 Thread David Gibson
On Thu, Feb 21, 2013 at 03:05:58PM -0800, a...@linux-foundation.org wrote: > From: Michel Lespinasse > Subject: mm: use vm_unmapped_area() on powerpc architecture > > Update the powerpc slice_get_unmapped_area function to make use of > vm_unmapped_area() instead of implementing a brute force sear