Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756007Ab2FNPVI (ORCPT ); Thu, 14 Jun 2012 11:21:08 -0400 Received: from mail-yw0-f46.google.com ([209.85.213.46]:63287 "EHLO mail-yw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753971Ab2FNPVH (ORCPT ); Thu, 14 Jun 2012 11:21:07 -0400 MIME-Version: 1.0 In-Reply-To: <4fd9db8d.c4e2440a.6bf6.4a46@mx.google.com> References: <4fd9db8d.c4e2440a.6bf6.4a46@mx.google.com> From: KOSAKI Motohiro Date: Thu, 14 Jun 2012 11:20:45 -0400 Message-ID: Subject: Re: [PATCH] mm: fix page reclaim comment error To: "[A" Cc: linux-mm@kvack.org, Andrew Morton , KAMEZAWA Hiroyuki , Mel Gorman , Minchan Kim , linux-kernel@vger.kernel.org, trivial@kernel.org, Gavin Shan Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 750 Lines: 19 On Thu, Jun 14, 2012 at 8:38 AM, [A wrote: > From: Wanpeng Li > > From: Wanpeng Li > > Since there are five lists in LRU cache, the array nr in get_scan_count > should be: > > nr[0] = anon inactive pages to scan; nr[1] = anon active pages to scan > nr[2] = file inactive pages to scan; nr[3] = file active pages to scan > > Signed-off-by: Wanpeng Li Acked-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/