On Mon, 31 May 1999 01:12:43 +0200 (CEST), Andrea Arcangeli
<andrea@suse.de> said:
> I am just rewriting swapped-in pages to their previous location on
> swap to avoid swap fragmentation. No need to have dirty pages into the
> swap cache to handle that. We just have the information cached in the
> page-map-> offset field. We only need to know when it make sense to
> know if we should use it or not. To handle that I simply added a
> PG_swap_entry bitflag set at swapin time and cleared after swapout to
> the old entry or at free_page_and_swap_cache() time. The thing runs
> like a charm (the swapin performances definitely improves a lot).
Cute! When, oh when, are you going to start releasing these things as
separate patches which I can look at? This is one simple optimisation
that I'd really like to see in 2.3 asap.
--Stephen
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/