Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756022Ab3GCPwE (ORCPT ); Wed, 3 Jul 2013 11:52:04 -0400 Received: from mail-pa0-f47.google.com ([209.85.220.47]:57220 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752514Ab3GCPwC (ORCPT ); Wed, 3 Jul 2013 11:52:02 -0400 Message-ID: <51D44890.4080003@gmail.com> Date: Wed, 03 Jul 2013 23:51:44 +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> In-Reply-To: <20130703152824.GB30267@dhcp22.suse.cz> 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: 781 Lines: 25 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. > > [...] -- 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/