Re: [PATCH 3/3] reuse __free_pages_exact() in__alloc_pages_exact()

From: David Rientjes
Date: Thu Apr 14 2011 - 18:00:26 EST

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@xxxxxxxxxx>
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