[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <022301d26c81$807332e0$815998a0$@alibaba-inc.com>
Date: Thu, 12 Jan 2017 11:11:00 +0800
From: "Hillf Danton" <hillf.zj@...baba-inc.com>
To: "'Mel Gorman'" <mgorman@...hsingularity.net>,
"'Jesper Dangaard Brouer'" <brouer@...hat.com>
Cc: "'Linux Kernel'" <linux-kernel@...r.kernel.org>,
"'Linux-MM'" <linux-mm@...ck.org>
Subject: Re: [PATCH 2/4] mm, page_alloc: Split alloc_pages_nodemask
On Tuesday, January 10, 2017 12:35 AM Mel Gorman wrote:
>
> alloc_pages_nodemask does a number of preperation steps that determine
> what zones can be used for the allocation depending on a variety of
> factors. This is fine but a hypothetical caller that wanted multiple
> order-0 pages has to do the preparation steps multiple times. This patch
> structures __alloc_pages_nodemask 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@...hsingularity.net>
> ---
Acked-by: Hillf Danton <hillf.zj@...baba-inc.com>
Powered by blists - more mailing lists