>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.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
Please read the FAQ at http://www.tux.org/lkml/