From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751933AbcGRQQM (ORCPT ); Mon, 18 Jul 2016 12:16:12 -0400 Received: from gum.cmpxchg.org ([85.214.110.215]:53282 "EHLO gum.cmpxchg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751645AbcGRQQK (ORCPT ); Mon, 18 Jul 2016 12:16:10 -0400 Date: Mon, 18 Jul 2016 12:15:57 -0400 From: Johannes Weiner To: Mel Gorman Cc: Andrew Morton , Minchan Kim , Vlastimil Babka , Linux-MM , LKML Subject: Re: [PATCH 2/5] mm, vmscan: avoid passing in classzone_idx unnecessarily to compaction_ready -fix Message-ID: <20160718161557.GE16465@cmpxchg.org> References: <1468588165-12461-1-git-send-email-mgorman@techsingularity.net> <1468588165-12461-3-git-send-email-mgorman@techsingularity.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1468588165-12461-3-git-send-email-mgorman@techsingularity.net> User-Agent: Mutt/1.6.2 (2016-07-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 15, 2016 at 02:09:22PM +0100, Mel Gorman wrote: > As pointed out by Vlastimil, there is a redundant check in shrink_zones > since commit "mm, vmscan: avoid passing in classzone_idx unnecessarily to > compaction_ready". The zonelist iterator only returns zones that already > meet the requirements of the allocation request. > > This is a fix to the mmotm patch > mm-vmscan-avoid-passing-in-classzone_idx-unnecessarily-to-compaction_ready.patch > > Signed-off-by: Mel Gorman Acked-by: Johannes Weiner