From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756399AbcFHQDD (ORCPT ); Wed, 8 Jun 2016 12:03:03 -0400 Received: from gum.cmpxchg.org ([85.214.110.215]:58612 "EHLO gum.cmpxchg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754682AbcFHQDA (ORCPT ); Wed, 8 Jun 2016 12:03:00 -0400 Date: Wed, 8 Jun 2016 12:02:55 -0400 From: Johannes Weiner To: Minchan Kim Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrew Morton , Rik van Riel , Mel Gorman , Andrea Arcangeli , Andi Kleen , Michal Hocko , Tim Chen , kernel-team@fb.com Subject: Re: [PATCH 05/10] mm: remove LRU balancing effect of temporary page isolation Message-ID: <20160608160255.GD6727@cmpxchg.org> References: <20160606194836.3624-1-hannes@cmpxchg.org> <20160606194836.3624-6-hannes@cmpxchg.org> <20160608073944.GA28620@bbox> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160608073944.GA28620@bbox> 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 Wed, Jun 08, 2016 at 04:39:44PM +0900, Minchan Kim wrote: > On Mon, Jun 06, 2016 at 03:48:31PM -0400, Johannes Weiner wrote: > > @@ -832,9 +854,9 @@ static void __pagevec_lru_add_fn(struct page *page, struct lruvec *lruvec, > > * Add the passed pages to the LRU, then drop the caller's refcount > > * on them. Reinitialises the caller's pagevec. > > */ > > -void __pagevec_lru_add(struct pagevec *pvec) > > +void __pagevec_lru_add(struct pagevec *pvec, bool new) > > { > > - pagevec_lru_move_fn(pvec, __pagevec_lru_add_fn, NULL); > > + pagevec_lru_move_fn(pvec, __pagevec_lru_add_fn, (void *)new); > > } > > Just trivial: > > 'new' argument would be not clear in this context what does it mean > so worth to comment it, IMO but no strong opinion. True, it's a little mysterious. I'll document it. > Other than that, > > Acked-by: Minchan Kim Thanks!