Re: [PATCH] fix missing unlock_page in mm/rmap.c

From: William Lee Irwin III
Date: Sat Sep 18 2004 - 06:44:11 EST


On Sat, Sep 18, 2004 at 08:53:04PM +1000, Nick Piggin wrote:
> Please apply.
> A required unlock_page will be missed in a very rare (but possible) race
> condition. Acked by Hugh, who says:
> It'll be hard to hit because of the additional page_mapped test above,
> with truncate unmapping ptes from mms before it advances to removing
> pages from cache; but nothing to prevent it happening.
> Signed-off-by: Nick Piggin <nickpiggin@xxxxxxxxxxxx>
> Signed-off-by: Hugh Dickins <hugh@xxxxxxxxxxx>

I've hit a missing unlock_page(). I'll see if this fixed it.


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