From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx130.postini.com [74.125.245.130]) by kanga.kvack.org (Postfix) with SMTP id 19B296B005C for ; Thu, 14 Jun 2012 11:02:33 -0400 (EDT) Received: by dakp5 with SMTP id p5so3284454dak.14 for ; Thu, 14 Jun 2012 08:02:32 -0700 (PDT) Date: Fri, 15 Jun 2012 00:02:23 +0900 From: Minchan Kim Subject: Re: [PATCH] mm: fix page reclaim comment error Message-ID: <20120614150223.GB2097@barrios> References: <1339677662-25942-1-git-send-email-liwp.linux@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1339677662-25942-1-git-send-email-liwp.linux@gmail.com> Sender: owner-linux-mm@kvack.org List-ID: 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 On Thu, Jun 14, 2012 at 08:41:02PM +0800, 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 Acked-by: Minchan Kim Thanks! -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org