From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 24 Jul 2008 15:26:44 +0900 From: KOSAKI Motohiro Subject: Re: [RFC][PATCH -mm] vmscan: fix swapout on sequential IO In-Reply-To: <20080723144115.72803eb8@bree.surriel.com> References: <20080723144115.72803eb8@bree.surriel.com> Message-Id: <20080724152555.869D.KOSAKI.MOTOHIRO@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Rik van Riel , Rik van Riel Cc: kosaki.motohiro@jp.fujitsu.com, Johannes Weiner , linux-mm@kvack.org List-ID: > - zone->lru[l].nr_scan += scan + 1; > + zone->lru[l].nr_scan += scan + force_scan; > nr[l] = zone->lru[l].nr_scan; > if (nr[l] >= sc->swap_cluster_max) > zone->lru[l].nr_scan = 0; looks good to me. Reviewed-by: KOSAKI Motohiro -- 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