Re: [RFC PATCH 1/5] mm, page_alloc: support multiple pagesallocation

From: Christoph Lameter
Date: Wed Jul 03 2013 - 11:57:52 EST


On Wed, 3 Jul 2013, Joonsoo Kim wrote:

> @@ -298,13 +298,15 @@ static inline void arch_alloc_page(struct page *page, int order) { }
>
> struct page *
> __alloc_pages_nodemask(gfp_t gfp_mask, unsigned int order,
> - struct zonelist *zonelist, nodemask_t *nodemask);
> + struct zonelist *zonelist, nodemask_t *nodemask,
> + unsigned long *nr_pages, struct page **pages);
>

Add a separate function for the allocation of multiple pages instead?
--
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/