[lkml]   [2001]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectswapin readahead pre-patch


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
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:52    [W:0.041 / U:1.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site