From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johannes Weiner Subject: Re: [RFC][PATCH -mm] vmscan: fix swapout on sequential IO References: <20080723144115.72803eb8@bree.surriel.com> <87zlo8mo7p.fsf@saeurebad.de> <20080723152924.752339dd@bree.surriel.com> Date: Wed, 23 Jul 2008 21:38:34 +0200 In-Reply-To: <20080723152924.752339dd@bree.surriel.com> (Rik van Riel's message of "Wed, 23 Jul 2008 15:29:24 -0400") Message-ID: <87vdywmlvp.fsf@saeurebad.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-linux-mm@kvack.org Return-Path: To: Rik van Riel Cc: linux-mm@kvack.org List-ID: Hi, Rik van Riel writes: > On Wed, 23 Jul 2008 20:48:10 +0200 > Johannes Weiner wrote: > >> > - zone->lru[l].nr_scan += scan + 1; >> > + zone->lru[l].nr_scan += scan + force_scan; >> >> The accumulation aspect is not gone, though. If the system has reached >> the force-scan priority swap_cluster_max times, the next scan, even if >> long after the last scan, will scan bogus lists. > > Which I suspect is the desired behaviour. > > Better go out of balance a little, than risk an OOM kill. Okay, I agree with that. It will at least keep the balance for some longer :) Hannes -- 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