Re: [PATCH] mm: further fix swapin race condition

From: Rik van Riel
Date: Sun Sep 19 2010 - 23:10:25 EST


On 09/19/2010 10:40 PM, Hugh Dickins wrote:
Commit 4969c1192d15afa3389e7ae3302096ff684ba655 "mm: fix swapin race condition"
is now agreed to be incomplete. There's a race, not very much less likely
than the original race envisaged, in which it is further necessary to check
that the swapcache page's swap has not changed.

B ought to have checked that page1's swap was still swap1.

Signed-off-by: Hugh Dickins<hughd@xxxxxxxxxx>
Cc: stable@xxxxxxxxxx

Reviewed-by: Rik van Riel <riel@xxxxxxxxxx>

--
All rights reversed
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/