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

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/

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