From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751418AbaEFQtE (ORCPT ); Tue, 6 May 2014 12:49:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38018 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750893AbaEFQtC (ORCPT ); Tue, 6 May 2014 12:49:02 -0400 Message-ID: <53691272.1050602@redhat.com> Date: Tue, 06 May 2014 12:48:50 -0400 From: Rik van Riel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Mel Gorman , Linux-MM , Linux-FSDevel CC: Johannes Weiner , Vlastimil Babka , Jan Kara , Michal Hocko , Hugh Dickins , Linux Kernel Subject: Re: [PATCH 05/17] mm: page_alloc: Only check the zone id check if pages are buddies References: <1398933888-4940-1-git-send-email-mgorman@suse.de> <1398933888-4940-6-git-send-email-mgorman@suse.de> In-Reply-To: <1398933888-4940-6-git-send-email-mgorman@suse.de> 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 On 05/01/2014 04:44 AM, Mel Gorman wrote: > A node/zone index is used to check if pages are compatible for merging > but this happens unconditionally even if the buddy page is not free. Defer > the calculation as long as possible. Ideally we would check the zone boundary > but nodes can overlap. > > Signed-off-by: Mel Gorman > Acked-by: Johannes Weiner Acked-by: Rik van Riel -- All rights reversed