linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Rik van Riel <riel@conectiva.com.br>
To: Marcelo Tosatti <marcelo@conectiva.com.br>
Cc: Linus Torvalds <torvalds@transmeta.com>,
	"David S. Miller" <davem@redhat.com>,
	Mike Galbraith <mikeg@wen-online.de>,
	Zlatko Calusic <zlatko.calusic@iskon.hr>,
	linux-mm@kvack.org
Subject: Re: Background scanning change on 2.4.6-pre1
Date: Sat, 9 Jun 2001 00:46:08 -0300 (BRST)	[thread overview]
Message-ID: <Pine.LNX.4.21.0106090044060.10415-100000@imladris.rielhome.conectiva> (raw)
In-Reply-To: <Pine.LNX.4.21.0106081743070.2699-100000@freak.distro.conectiva>

On Fri, 8 Jun 2001, Marcelo Tosatti wrote:

> Yes, we want fair aging. No, we dont want more pages being swapped out. 
> 
> Well, I'll take a look at this. 

OK, I found a MUCH more serious issue in 2.4.6-pre1 ... this one
makes page_launder() actively work at making it impossible for the
system to fulfill the inactive_target and will make the system work
in refill_inactive() basically infinitely, doing page aging just for
the hell of it.

vmscan.c:
@@ -463,6 +458,7 @@
 
                /* Page is or was in use?  Move it to the active list. */
                if (PageReferenced(page) || page->age > 0 ||
+                               page->zone->free_pages > page->zone->pages_high ||
                                (!page->buffers && page_count(page) > 1) ||
                                page_ramdisk(page)) {
                        del_page_from_inactive_dirty_list(page);

This thing needs to go.

regards,

Rik
--
Virtual memory is like a game you can't win;
However, without VM there's truly nothing to lose...

http://www.surriel.com/		http://distro.conectiva.com/

Send all your spam to aardvark@nl.linux.org (spam digging piggy)

--
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/

  parent reply	other threads:[~2001-06-09  3:46 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.4.31.0106081313500.3244-100000@penguin.transmeta.com>
2001-06-08 19:20 ` Marcelo Tosatti
2001-06-08 21:27   ` David S. Miller
2001-06-08 19:59     ` Marcelo Tosatti
2001-06-08 21:47       ` David S. Miller
2001-06-08 21:51       ` Linus Torvalds
2001-06-08 20:44         ` Marcelo Tosatti
2001-06-08 22:33           ` Linus Torvalds
2001-06-08 21:10             ` Marcelo Tosatti
2001-06-09  0:12               ` Linus Torvalds
2001-06-09  3:48                 ` Rik van Riel
2001-06-09  4:05                   ` Linus Torvalds
2001-06-09  3:46           ` Rik van Riel [this message]
2001-06-07 18:50 Marcelo Tosatti
2001-06-07 20:43 ` Linus Torvalds
2001-06-07 20:51   ` Linus Torvalds
2001-06-07 19:30     ` Marcelo Tosatti
2001-06-07 21:08     ` Jonathan Morton
2001-06-07 21:05   ` Andreas Dilger
2001-06-09  3:26   ` Rik van Riel
2001-06-07 21:09 ` Andreas Dilger

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=Pine.LNX.4.21.0106090044060.10415-100000@imladris.rielhome.conectiva \
    --to=riel@conectiva.com.br \
    --cc=davem@redhat.com \
    --cc=linux-mm@kvack.org \
    --cc=marcelo@conectiva.com.br \
    --cc=mikeg@wen-online.de \
    --cc=torvalds@transmeta.com \
    --cc=zlatko.calusic@iskon.hr \
    /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