From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt0-f197.google.com (mail-qt0-f197.google.com [209.85.216.197]) by kanga.kvack.org (Postfix) with ESMTP id B42A36B0033 for ; Wed, 11 Jan 2017 07:31:17 -0500 (EST) Received: by mail-qt0-f197.google.com with SMTP id f4so106211645qte.1 for ; Wed, 11 Jan 2017 04:31:17 -0800 (PST) Received: from mx1.redhat.com (mx1.redhat.com. [209.132.183.28]) by mx.google.com with ESMTPS id b38si3663547qte.185.2017.01.11.04.31.17 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Jan 2017 04:31:17 -0800 (PST) Date: Wed, 11 Jan 2017 13:31:10 +0100 From: Jesper Dangaard Brouer Subject: Re: [PATCH 1/4] mm, page_alloc: Split buffered_rmqueue Message-ID: <20170111133110.52fcda6f@redhat.com> In-Reply-To: <20170109163518.6001-2-mgorman@techsingularity.net> References: <20170109163518.6001-1-mgorman@techsingularity.net> <20170109163518.6001-2-mgorman@techsingularity.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Mel Gorman Cc: Linux Kernel , Linux-MM , Hillf Danton , brouer@redhat.com On Mon, 9 Jan 2017 16:35:15 +0000 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: Jesper Dangaard Brouer -- Best regards, Jesper Dangaard Brouer MSc.CS, Principal Kernel Engineer at Red Hat LinkedIn: http://www.linkedin.com/in/brouer -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758358AbdAKMbS (ORCPT ); Wed, 11 Jan 2017 07:31:18 -0500 Received: from mx1.redhat.com ([209.132.183.28]:44558 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751321AbdAKMbQ (ORCPT ); Wed, 11 Jan 2017 07:31:16 -0500 Date: Wed, 11 Jan 2017 13:31:10 +0100 From: Jesper Dangaard Brouer To: Mel Gorman Cc: Linux Kernel , Linux-MM , Hillf Danton , brouer@redhat.com Subject: Re: [PATCH 1/4] mm, page_alloc: Split buffered_rmqueue Message-ID: <20170111133110.52fcda6f@redhat.com> In-Reply-To: <20170109163518.6001-2-mgorman@techsingularity.net> References: <20170109163518.6001-1-mgorman@techsingularity.net> <20170109163518.6001-2-mgorman@techsingularity.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Wed, 11 Jan 2017 12:31:17 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 9 Jan 2017 16:35:15 +0000 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: Jesper Dangaard Brouer -- Best regards, Jesper Dangaard Brouer MSc.CS, Principal Kernel Engineer at Red Hat LinkedIn: http://www.linkedin.com/in/brouer