Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753750Ab1EaMMA (ORCPT ); Tue, 31 May 2011 08:12:00 -0400 Received: from zene.cmpxchg.org ([85.214.230.12]:45273 "EHLO zene.cmpxchg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752587Ab1EaML7 (ORCPT ); Tue, 31 May 2011 08:11:59 -0400 Date: Tue, 31 May 2011 14:11:50 +0200 From: Johannes Weiner To: Minchan Kim Cc: Andrew Morton , linux-mm , LKML , KAMEZAWA Hiroyuki , KOSAKI Motohiro , Mel Gorman , Rik van Riel , Andrea Arcangeli Subject: Re: [PATCH v2 02/10] compaction: trivial clean up acct_isolated Message-ID: <20110531121150.GA3190@cmpxchg.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1102 Lines: 22 On Mon, May 30, 2011 at 03:13:41AM +0900, Minchan Kim wrote: > acct_isolated of compaction uses page_lru_base_type which returns only > base type of LRU list so it never returns LRU_ACTIVE_ANON or LRU_ACTIVE_FILE. > In addtion, cc->nr_[anon|file] is used in only acct_isolated so it doesn't have > fields in conpact_control. > This patch removes fields from compact_control and makes clear function of > acct_issolated which counts the number of anon|file pages isolated. > > Cc: KOSAKI Motohiro > Cc: Mel Gorman > Cc: Rik van Riel > Cc: Andrea Arcangeli > Cc: Johannes Weiner > Reviewed-by: KAMEZAWA Hiroyuki > Signed-off-by: Minchan Kim Acked-by: Johannes Weiner -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/