linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* 2.2.0-pre5
@ 1999-01-07 16:34 Rik van Riel
  0 siblings, 0 replies; only message in thread
From: Rik van Riel @ 1999-01-07 16:34 UTC (permalink / raw)
  To: Linux MM

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-01-07 16:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-01-07 16:34 2.2.0-pre5 Rik van Riel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox