[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
2.2.0-pre5
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