From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752579AbcDZPXI (ORCPT ); Tue, 26 Apr 2016 11:23:08 -0400 Received: from mx2.suse.de ([195.135.220.15]:48925 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751101AbcDZPXF (ORCPT ); Tue, 26 Apr 2016 11:23:05 -0400 Subject: Re: [PATCH 18/28] mm, page_alloc: Shorten the page allocator fast path To: Mel Gorman , Andrew Morton References: <1460710760-32601-1-git-send-email-mgorman@techsingularity.net> <1460711275-1130-1-git-send-email-mgorman@techsingularity.net> <1460711275-1130-6-git-send-email-mgorman@techsingularity.net> Cc: Jesper Dangaard Brouer , Linux-MM , LKML From: Vlastimil Babka Message-ID: <571F87D4.8090706@suse.cz> Date: Tue, 26 Apr 2016 17:23:00 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 MIME-Version: 1.0 In-Reply-To: <1460711275-1130-6-git-send-email-mgorman@techsingularity.net> Content-Type: text/plain; charset=iso-8859-2; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/15/2016 11:07 AM, Mel Gorman wrote: > The page allocator fast path checks page multiple times unnecessarily. > This patch avoids all the slowpath checks if the first allocation attempt > succeeds. > > Signed-off-by: Mel Gorman Acked-by: Vlastimil Babka