Re: md: Fix userspace free_pages() macro

From: H. Peter Anvin
Date: Wed Dec 14 2011 - 16:15:38 EST


On 12/14/2011 05:34 AM, Steven Rostedt wrote:
> While using etags to find free_pages(), I stumbled across this debug
> definition of free_pages() that is to be used while debugging some raid
> code in userspace. The __get_free_pages() allocates the correct size,
> but the free_pages() does not match. free_pages(), like
> __get_free_pages(), takes an order and not a size.
>
> Signed-off-by: Steven Rostedt <rostedt@xxxxxxxxxxx>
>

Acked-by: H. Peter Anvin <hpa@xxxxxxxxx>

-hpa
--
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/