Re: free_page_and_swap_cache sleeps (so sleep also zap_page_range)

Andrea Arcangeli (andrea@suse.de)
Wed, 30 Jun 1999 01:00:29 +0200 (CEST)


On Tue, 29 Jun 1999, Bryn Paul Arnold Jones wrote:

>!TryLockPage(page) == True
>and
>PageSwapCache(page) && !is_page_shared(page) == False.
>
>You now have the page locked, but you don't unlock it now. If you move

Yes, it must be moved at the end of the function. Thanks for pointing this out
(I still had not the time to try the patch because I am trying to generate a
stable page-LRU for 2.3.x).

Andrea

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/