Re: [PATCH 3/3] reuse __free_pages_exact() in __alloc_pages_exact()

From: Dave Hansen
Date: Thu Apr 14 2011 - 18:07:22 EST

On Thu, 2011-04-14 at 15:00 -0700, David Rientjes wrote:
> 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?

Bah, sorry. I'll resend the whole sucker, with sob if anybody wants.

Signed-off-by: Dave Hansen <dave@xxxxxxxxxxxxxxxxxx>

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at