From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751672AbdAMN1M (ORCPT ); Fri, 13 Jan 2017 08:27:12 -0500 Received: from mx2.suse.de ([195.135.220.15]:42155 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751562AbdAMN1L (ORCPT ); Fri, 13 Jan 2017 08:27:11 -0500 Subject: Re: [PATCH 1/3] mm, page_alloc: Split buffered_rmqueue To: Mel Gorman References: <20170112104300.24345-1-mgorman@techsingularity.net> <20170112104300.24345-2-mgorman@techsingularity.net> <63cb1f14-ab02-31a2-f386-16c1b52f61fe@suse.cz> <20170112172131.wd64o44kqg6e4nou@techsingularity.net> Cc: Andrew Morton , Linux Kernel , Linux-MM , Hillf Danton , Jesper Dangaard Brouer From: Vlastimil Babka Message-ID: Date: Fri, 13 Jan 2017 14:27:08 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <20170112172131.wd64o44kqg6e4nou@techsingularity.net> Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/12/2017 06:21 PM, Mel Gorman wrote: > >> > Signed-off-by: Mel Gorman >> > Acked-by: Hillf Danton >> > --- >> > mm/page_alloc.c | 126 ++++++++++++++++++++++++++++++++++---------------------- >> > 1 file changed, 77 insertions(+), 49 deletions(-) >> > >> > diff --git a/mm/page_alloc.c b/mm/page_alloc.c >> > index 2c6d5f64feca..d8798583eaf8 100644 >> > --- a/mm/page_alloc.c >> > +++ b/mm/page_alloc.c >> > @@ -2610,68 +2610,96 @@ static inline void zone_statistics(struct zone *preferred_zone, struct zone *z, >> > #endif >> > } >> > >> > +/* Remote page from the per-cpu list, caller must protect the list */ >> >> ^ Remove >> >> > +static struct page *__rmqueue_pcplist(struct zone *zone, unsigned int order, >> > + gfp_t gfp_flags, int migratetype, bool cold, >> >> order and gfp_flags seem unused here >> > > This on top? Yeah, thanks!