Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756354Ab2FNRww (ORCPT ); Thu, 14 Jun 2012 13:52:52 -0400 Received: from mx1.redhat.com ([209.132.183.28]:10306 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752154Ab2FNRwv (ORCPT ); Thu, 14 Jun 2012 13:52:51 -0400 Message-ID: <4FDA24BA.7070306@redhat.com> Date: Thu, 14 Jun 2012 13:51:54 -0400 From: Rik van Riel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: Wanpeng Li CC: linux-mm@kvack.org, Andrew Morton , KAMEZAWA Hiroyuki , Mel Gorman , Minchan Kim , linux-kernel@vger.kernel.org, trivial@kernel.org, Gavin Shan Subject: Re: [PATCH] mm: fix page reclaim comment error References: <1339677662-25942-1-git-send-email-liwp.linux@gmail.com> In-Reply-To: <1339677662-25942-1-git-send-email-liwp.linux@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 665 Lines: 17 On 06/14/2012 08:41 AM, Wanpeng Li wrote: > 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 Reviewed-by: Rik van Riel -- 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/