From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751675AbaAVGLY (ORCPT ); Wed, 22 Jan 2014 01:11:24 -0500 Received: from relay.parallels.com ([195.214.232.42]:38652 "EHLO relay.parallels.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750778AbaAVGLW (ORCPT ); Wed, 22 Jan 2014 01:11:22 -0500 Message-ID: <52DF6100.4060402@parallels.com> Date: Wed, 22 Jan 2014 10:11:12 +0400 From: Vladimir Davydov MIME-Version: 1.0 To: David Rientjes CC: , , , , Mel Gorman , Michal Hocko , Johannes Weiner , Rik van Riel , Dave Chinner , Glauber Costa Subject: Re: [PATCH 1/3] mm: vmscan: shrink_slab: rename max_pass -> freeable References: <4e2efebe688e06574f6495c634ac45d799e1518d.1389982079.git.vdavydov@parallels.com> In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.30.16.96] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/22/2014 02:22 AM, David Rientjes wrote: > On Fri, 17 Jan 2014, Vladimir Davydov wrote: > >> The name `max_pass' is misleading, because this variable actually keeps >> the estimate number of freeable objects, not the maximal number of >> objects we can scan in this pass, which can be twice that. Rename it to >> reflect its actual meaning. >> >> Signed-off-by: Vladimir Davydov >> Cc: Andrew Morton >> Cc: Mel Gorman >> Cc: Michal Hocko >> Cc: Johannes Weiner >> Cc: Rik van Riel >> Cc: Dave Chinner >> Cc: Glauber Costa > This doesn't compile on linux-next: > > mm/vmscan.c: In function ‘shrink_slab_node’: > mm/vmscan.c:300:23: error: ‘max_pass’ undeclared (first use in this function) > mm/vmscan.c:300:23: note: each undeclared identifier is reported only once for each function it appears in > > because of b01fa2357bca ("mm: vmscan: shrink all slab objects if tight on > memory") from an author with a name remarkably similar to yours. Oh, sorry. I thought it hadn't been committed there yet. > Could you rebase this series on top of your previous work that is already in -mm? Sure. Thanks.