Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755191Ab1FJITw (ORCPT ); Fri, 10 Jun 2011 04:19:52 -0400 Received: from fgwmail5.fujitsu.co.jp ([192.51.44.35]:39816 "EHLO fgwmail5.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755051Ab1FJITu (ORCPT ); Fri, 10 Jun 2011 04:19:50 -0400 X-SecurityPolicyCheck-FJ: OK by FujitsuOutboundMailChecker v1.3.1 Message-ID: <4DF1D396.5000404@jp.fujitsu.com> Date: Fri, 10 Jun 2011 17:19:34 +0900 From: KOSAKI Motohiro User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: minchan.kim@gmail.com CC: akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, mgorman@suse.de, aarcange@redhat.com, riel@redhat.com, hannes@cmpxchg.org, kamezawa.hiroyu@jp.fujitsu.com Subject: Re: [PATCH v3 01/10] compaction: trivial clean up acct_isolated References: <71a79768ff8ef356db09493dbb5d6c390e176e0d.1307455422.git.minchan.kim@gmail.com> In-Reply-To: <71a79768ff8ef356db09493dbb5d6c390e176e0d.1307455422.git.minchan.kim@gmail.com> Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1110 Lines: 25 (2011/06/07 23:38), 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: Andrea Arcangeli > Acked-by: Rik van Riel > Acked-by: Johannes Weiner > Reviewed-by: KAMEZAWA Hiroyuki > Signed-off-by: Minchan Kim Reviewed-by: KOSAKI Motohiro -- 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/