Re: [PATCH] swapin readahead and fixes

Stephen C. Tweedie (sct@redhat.com)
Fri, 4 Dec 1998 11:34:18 GMT


Hi,

On Thu, 3 Dec 1998 18:56:34 +0100 (CET), Rik van Riel
<H.H.vanRiel@phys.uu.nl> said:

> The swapin enhancement consists of a simple swapin readahead.

One odd thing about the readahead: you don't start the readahead until
_after_ you have synchronously read in the first swap page of the
cluster. Surely it is better to do the readahead first, so that you
are submitting one IO to disk, not two?

--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/