2005-09-04 14:10:38

by Con Kolivas

[permalink] [raw]
Subject: [PATCH] vm: swap prefetch-1

Thanks to those who tested the swap prefetch code in its first public
iteration. Here is a respin of the code which improves its behaviour to be
virtually unnoticable, and fix a couple of bugs that showed up.

Changes:
This version is suspend aware
Swap prefetches are limited to SWAP_CLUSTER_MAX (=128kb) per second
Prefetching is delayed whenever memory watermark limits are missed, or swap is
going in or out. The delay has been reduced to 5 seconds though.
Memory pressure while in the actual prefetch code will break out of it
The dependence on an new timer interface was abolished
Other cleanups and tweaks

Please test and report back. Assuming no bugs show up in this version, it will
be included in the next -ck.

The latest patch is available for download from here:

http://ck.kolivas.org/patches/swap-prefetch/

and is attached to this email

Cheers,
Con


Attachments:
(No filename) (872.00 B)
vm-swap_prefetch-1.patch (14.61 kB)
Download all attachments