Re: [patch] my latest oom stuff

Andrea Arcangeli (andrea@e-mind.com)
Fri, 30 Oct 1998 19:16:57 +0100 (CET)


On Fri, 30 Oct 1998, Andrea Arcangeli wrote:

>Ok the last patch (the one with the FP_* flags) seems really perfect. I
>have put out a new whole patch against pre-2.1.127-2 (with the
>swap_duplicate() bogus check removed).

I have verifyed that the "swap_duplicate() unused entry" messages while
swapoff -a is running, are perfectly safe. What happens is that while
read_swap_cache_async is sleeping on the __get_free_pages(), another
process swapin the page from the swap and then swap_duplicate() returns 0
and everything then goes fine.

Andrea Arcangeli

-
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/