Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756419Ab3GCQB6 (ORCPT ); Wed, 3 Jul 2013 12:01:58 -0400 Received: from mail-pd0-f182.google.com ([209.85.192.182]:60426 "EHLO mail-pd0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754935Ab3GCQB5 (ORCPT ); Wed, 3 Jul 2013 12:01:57 -0400 Message-ID: <51D44AE7.1090701@gmail.com> Date: Thu, 04 Jul 2013 00:01:43 +0800 From: Zhang Yanfei User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120607 Thunderbird/10.0.5 MIME-Version: 1.0 To: Michal Hocko CC: Joonsoo Kim , Andrew Morton , Mel Gorman , David Rientjes , Glauber Costa , Johannes Weiner , KOSAKI Motohiro , Rik van Riel , Hugh Dickins , Minchan Kim , Jiang Liu , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Joonsoo Kim Subject: Re: [RFC PATCH 0/5] Support multiple pages allocation References: <1372840460-5571-1-git-send-email-iamjoonsoo.kim@lge.com> <20130703152824.GB30267@dhcp22.suse.cz> <51D44890.4080003@gmail.com> In-Reply-To: <51D44890.4080003@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 925 Lines: 31 On 07/03/2013 11:51 PM, Zhang Yanfei wrote: > On 07/03/2013 11:28 PM, Michal Hocko wrote: >> On Wed 03-07-13 17:34:15, Joonsoo Kim wrote: >> [...] >>> For one page allocation at once, this patchset makes allocator slower than >>> before (-5%). >> >> Slowing down the most used path is a no-go. Where does this slow down >> come from? > > I guess, it might be: for one page allocation at once, comparing to the original > code, this patch adds two parameters nr_pages and pages and will do extra checks > for the parameter nr_pages in the allocation path. > If so, adding a separate path for the multiple allocations seems better. >> >> [...] > > -- Thanks. Zhang Yanfei -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/