From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752591AbcDZL3p (ORCPT ); Tue, 26 Apr 2016 07:29:45 -0400 Received: from mx2.suse.de ([195.135.220.15]:60460 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752074AbcDZL3o (ORCPT ); Tue, 26 Apr 2016 07:29:44 -0400 Subject: Re: [PATCH 07/28] mm, page_alloc: Avoid unnecessary zone lookups during pageblock operations To: Mel Gorman , Andrew Morton References: <1460710760-32601-1-git-send-email-mgorman@techsingularity.net> <1460710760-32601-8-git-send-email-mgorman@techsingularity.net> Cc: Jesper Dangaard Brouer , Linux-MM , LKML From: Vlastimil Babka Message-ID: <571F5125.6050502@suse.cz> Date: Tue, 26 Apr 2016 13:29:41 +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: <1460710760-32601-8-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 10:58 AM, Mel Gorman wrote: > Pageblocks have an associated bitmap to store migrate types and whether > the pageblock should be skipped during compaction. The bitmap may be > associated with a memory section or a zone but the zone is looked up > unconditionally. The compiler should optimise this away automatically so > this is a cosmetic patch only in many cases. > > Signed-off-by: Mel Gorman Acked-by: Vlastimil Babka