From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751032AbcGLSB7 (ORCPT ); Tue, 12 Jul 2016 14:01:59 -0400 Received: from gum.cmpxchg.org ([85.214.110.215]:51944 "EHLO gum.cmpxchg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750829AbcGLSB6 (ORCPT ); Tue, 12 Jul 2016 14:01:58 -0400 Date: Tue, 12 Jul 2016 14:01:41 -0400 From: Johannes Weiner To: Mel Gorman Cc: Andrew Morton , Linux-MM , Rik van Riel , Vlastimil Babka , Minchan Kim , Joonsoo Kim , LKML Subject: Re: [PATCH 25/34] mm, vmscan: avoid passing in classzone_idx unnecessarily to compaction_ready Message-ID: <20160712180141.GA7821@cmpxchg.org> References: <1467970510-21195-1-git-send-email-mgorman@techsingularity.net> <1467970510-21195-26-git-send-email-mgorman@techsingularity.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1467970510-21195-26-git-send-email-mgorman@techsingularity.net> User-Agent: Mutt/1.6.1 (2016-04-27) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 08, 2016 at 10:35:01AM +0100, Mel Gorman wrote: > The scan_control structure has enough information available for > compaction_ready() to make a decision. The classzone_idx manipulations in > shrink_zones() are no longer necessary as the highest populated zone is > no longer used to determine if shrink_slab should be called or not. > > Signed-off-by: Mel Gorman > Acked-by: Hillf Danton Acked-by: Johannes Weiner