linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Rik van Riel <riel@humbolt.geo.uu.nl>
To: Linux MM <linux-mm@kvack.org>
Subject: 2.2.0-pre5
Date: Thu, 7 Jan 1999 17:34:15 +0100 (CET)	[thread overview]
Message-ID: <Pine.LNX.4.03.9901071730160.4197-100000@mirkwood.dummy.home> (raw)

Hi,

while browsing the pre5 patch I saw quite a bit of
VM changes that made a lot of sense, but there was
one statement that really worried me (in vmscan.c)

+        * NOTE NOTE NOTE! This should just set a
+        * dirty bit in page_map, and just drop the
+        * pte. All the hard work would be done by
+        * shrink_mmap().
+        *
+        * That would get rid of a lot of problems.
+        */

Of course we should never do this since it would mean
we'd loose the benefit of clustered swapout (and
consequently clustered swapin).

The only way this could ever be implemented is by
using a linked list of things-to-swap-out that:
- is swapped out in the correct order and resorted
  if needs be (to preserve or actually improve the
  locality of reference in the swap area)
- can never be longer than X entries, to avoid ending
  up in all kinds of nasty situations

Rik -- If a Microsoft product fails, who do you sue?
+-------------------------------------------------------------------+
| Linux memory management tour guide.        riel@humbolt.geo.uu.nl |
| Scouting Vries cubscout leader.    http://humbolt.geo.uu.nl/~riel |
+-------------------------------------------------------------------+

--
This is a majordomo managed list.  To unsubscribe, send a message with
the body 'unsubscribe linux-mm me@address' to: majordomo@kvack.org

                 reply	other threads:[~1999-01-07 16:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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.03.9901071730160.4197-100000@mirkwood.dummy.home \
    --to=riel@humbolt.geo.uu.nl \
    --cc=linux-mm@kvack.org \
    /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