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

rw_swap_page() and swapin readahead



Hi Stephen,

it appears that rw_swap_page() needs a small change to be
able to do asynchonous swapin.

On line 128:
		if (!wait) {
			set_bit(PG_free_after, &page->flags);
			...
		}
			
We probably want to loose the line with PG_free_after, even
on normal swapout (or is it already gone in 2.1.130-pre3?).

If I misunderstood the code, I'll happily learn a bit :)

cheers,

Rik -- slowly getting 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