Re: [PATCH 1/4] mm, page_alloc: Split buffered_rmqueue

From: Hillf Danton
Date: Wed Jan 11 2017 - 22:10:38 EST


On Tuesday, January 10, 2017 12:35 AM Mel Gorman wrote:
>
> buffered_rmqueue removes a page from a given zone and uses the per-cpu
> list for order-0. This is fine but a hypothetical caller that wanted
> multiple order-0 pages has to disable/reenable interrupts multiple
> times. This patch structures buffere_rmqueue such that it's relatively
> easy to build a bulk order-0 page allocator. There is no functional
> change.
>
> Signed-off-by: Mel Gorman <mgorman@xxxxxxxxxxxxxxxxxxx>
> ---
Acked-by: Hillf Danton <hillf.zj@xxxxxxxxxxxxxxx>