linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Weiner <hannes@saeurebad.de>
To: Rik van Riel <riel@surriel.com>
Cc: linux-mm@kvack.org
Subject: Re: [RFC][PATCH -mm] vmscan: fix swapout on sequential IO
Date: Wed, 23 Jul 2008 21:38:34 +0200	[thread overview]
Message-ID: <87vdywmlvp.fsf@saeurebad.de> (raw)
In-Reply-To: <20080723152924.752339dd@bree.surriel.com> (Rik van Riel's message of "Wed, 23 Jul 2008 15:29:24 -0400")

Hi,

Rik van Riel <riel@surriel.com> writes:

> On Wed, 23 Jul 2008 20:48:10 +0200
> Johannes Weiner <hannes@saeurebad.de> 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: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2008-07-23 19:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-23 18:41 Rik van Riel, Rik van Riel
2008-07-23 18:48 ` Johannes Weiner
2008-07-23 19:29   ` Rik van Riel
2008-07-23 19:38     ` Johannes Weiner [this message]
2008-07-24  6:26 ` KOSAKI Motohiro
2008-07-24 12:20   ` Rik van Riel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vdywmlvp.fsf@saeurebad.de \
    --to=hannes@saeurebad.de \
    --cc=linux-mm@kvack.org \
    --cc=riel@surriel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox