mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* swapin readahead pre-patch
@ 2001-01-05 16:30 Marcelo Tosatti
  2001-01-05 16:34 ` swapin readahead pre-patch (what about the code?) Marcelo Tosatti
  0 siblings, 1 reply; 4+ messages in thread
From: Marcelo Tosatti @ 2001-01-05 16:30 UTC (permalink / raw)
  To: linux-kernel; +Cc: Rik van Riel


Hi, 

As I've told before, swapin readahead code is done at a physical basis,
and the correct thing is to swapin readahead only if the physical
on-swap pages are virtually contiguous wrt the one which suffered the
fault and is being swapped in. 

The following patch does this, and it also changes the readahead code to
readaround. I'm not sure if readaround is better than readahead for the
swapin case, and I'll have to test this more to make sure.

The code is not yet ready, but I'm posting the patch this way so people
can comment and test it.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-01-05 21:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-05 16:30 swapin readahead pre-patch Marcelo Tosatti
2001-01-05 16:34 ` swapin readahead pre-patch (what about the code?) Marcelo Tosatti
2001-01-05 21:02   ` Andreas Dilger
2001-01-05 19:17     ` Marcelo Tosatti

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

all inboxes | Powered by JetHome®