Messages in this thread | | | Date | Tue, 26 May 1998 23:46:35 +0200 (MET DST) | From | Rik van Riel <> | Subject | Re: patch for 2.1.102 swap code |
| |
On Tue, 26 May 1998, Stephen C. Tweedie wrote:
> That's why read_swap_cache_async repeats the initial entry lookup after > calling __get_free_page(). Unfortunately, I hadn't realised that > swap_duplicate() had the error check against swap_map[entry]==0. Moving > the swap_duplicate up to before the call to __get_free_page should avoid > that case.
Hmm, could read_swap_cache_async() be used to implement swap readahead?
Rik. +-------------------------------------------+--------------------------+ | Linux: - LinuxHQ MM-patches page | Scouting webmaster | | - kswapd ask-him & complain-to guy | Vries cubscout leader | | http://www.phys.uu.nl/~riel/ | <H.H.vanRiel@phys.uu.nl> | +-------------------------------------------+--------------------------+
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
| |