From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751456AbdALDKb (ORCPT ); Wed, 11 Jan 2017 22:10:31 -0500 Received: from out0-145.mail.aliyun.com ([140.205.0.145]:59232 "EHLO out0-145.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751098AbdALDKa (ORCPT ); Wed, 11 Jan 2017 22:10:30 -0500 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R841e4;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e02c03298;MF=hillf.zj@alibaba-inc.com;NM=1;PH=DS;RN=4;SR=0;TI=SMTPD_---.7Qux3Q4_1484190570; Reply-To: "Hillf Danton" From: "Hillf Danton" To: "'Mel Gorman'" , "'Jesper Dangaard Brouer'" Cc: "'Linux Kernel'" , "'Linux-MM'" References: <20170109163518.6001-1-mgorman@techsingularity.net> <20170109163518.6001-2-mgorman@techsingularity.net> In-Reply-To: <20170109163518.6001-2-mgorman@techsingularity.net> Subject: Re: [PATCH 1/4] mm, page_alloc: Split buffered_rmqueue Date: Thu, 12 Jan 2017 11:09:30 +0800 Message-ID: <022201d26c81$4af8dc50$e0ea94f0$@alibaba-inc.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQG2Y4yXFspOqM329TiynKhrR9O3PgEdl91NoWNNxzA= Content-Language: zh-cn Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > --- Acked-by: Hillf Danton