lkml.org 
[lkml]   [2011]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/3] reuse __free_pages_exact() in __alloc_pages_exact()
On Thu, 14 Apr 2011, Dave Hansen wrote:

>
> Michal Nazarewicz noticed that __alloc_pages_exact()'s
> __free_page() loop was really close to something he was
> using in one of his patches. That made me realize that
> it was actually very similar to __free_pages_exact().
>
> This uses __free_pages_exact() in place of the loop
> that we had in __alloc_pages_exact(). Since we had to
> change the temporary variables around anyway, I gave
> them some better names to hopefully address some other
> review comments.
>

No signed-off-by?

Acked-by: David Rientjes <rientjes@google.com>


\
 
 \ /
  Last update: 2011-04-15 00:03    [W:0.055 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site