From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qg0-f42.google.com (mail-qg0-f42.google.com [209.85.192.42]) by kanga.kvack.org (Postfix) with ESMTP id 302D46B0036 for ; Tue, 6 May 2014 12:19:56 -0400 (EDT) Received: by mail-qg0-f42.google.com with SMTP id q107so5155866qgd.15 for ; Tue, 06 May 2014 09:19:55 -0700 (PDT) Received: from mx1.redhat.com (mx1.redhat.com. [209.132.183.28]) by mx.google.com with ESMTP id m6si5334335qay.241.2014.05.06.09.19.54 for ; Tue, 06 May 2014 09:19:54 -0700 (PDT) Message-ID: <5369073F.70001@redhat.com> Date: Tue, 06 May 2014 12:01:03 -0400 From: Rik van Riel MIME-Version: 1.0 Subject: Re: [PATCH 04/17] mm: page_alloc: Calculate classzone_idx once from the zonelist ref References: <1398933888-4940-1-git-send-email-mgorman@suse.de> <1398933888-4940-5-git-send-email-mgorman@suse.de> In-Reply-To: <1398933888-4940-5-git-send-email-mgorman@suse.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Mel Gorman , Linux-MM , Linux-FSDevel Cc: Johannes Weiner , Vlastimil Babka , Jan Kara , Michal Hocko , Hugh Dickins , Linux Kernel On 05/01/2014 04:44 AM, Mel Gorman wrote: > There is no need to calculate zone_idx(preferred_zone) multiple times > or use the pgdat to figure it out. > > Signed-off-by: Mel Gorman Acked-by: Rik van Riel -- All rights reversed -- 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