From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx171.postini.com [74.125.245.171]) by kanga.kvack.org (Postfix) with SMTP id EED726B0037 for ; Wed, 3 Jul 2013 12:01:57 -0400 (EDT) Received: by mail-pb0-f47.google.com with SMTP id rr13so259183pbb.20 for ; Wed, 03 Jul 2013 09:01:57 -0700 (PDT) Message-ID: <51D44AE7.1090701@gmail.com> Date: Thu, 04 Jul 2013 00:01:43 +0800 From: Zhang Yanfei MIME-Version: 1.0 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: owner-linux-mm@kvack.org List-ID: 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 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, 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