[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

swapin readahead and locking



Hi Stephen,

I am now using the following construction (well, since
09:15 this morning):

struct page *page_map = lookup_swap_cache(entry);

if (!page_map) {
	page_map = read_swap_cache(entry);

... do readahead stuff
}

I have a funny feeling I missed a wait_on_page() this way,
but things are runnig happily right now. If I missed a big
thing like this, please let me know -- I'd hate it to have
people test the patch (it is up for grabs) and end up with
a corrupted system...

thanks,

Rik -- now completely used to dvorak kbd layout...
+-------------------------------------------------------------------+
| Linux memory management tour guide.        H.H.vanRiel@phys.uu.nl |
| Scouting Vries cubscout leader.      http://www.phys.uu.nl/~riel/ |
+-------------------------------------------------------------------+

--
This is a majordomo managed list.  To unsubscribe, send a message with
the body 'unsubscribe linux-mm me@address' to: majordomo@kvack.org