Re: mm/page_alloc.c: remove hand-coded get_order()

From: Andrew Morton
Date: Tue Apr 15 2008 - 05:38:33 EST


On Tue, 15 Apr 2008 02:35:05 -0700 Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:

> > What about creating void *get_free_pages(flags, order) version,
>
> Sounds sensible. It matches free_pages().

No it doesn't. free_pages() takes unsigned long.
--
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/