From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail172.messagelabs.com (mail172.messagelabs.com [216.82.254.3]) by kanga.kvack.org (Postfix) with SMTP id BB4DA6B0047 for ; Sun, 19 Sep 2010 23:09:45 -0400 (EDT) Message-ID: <4C96D072.5080305@redhat.com> Date: Sun, 19 Sep 2010 23:09:38 -0400 From: Rik van Riel MIME-Version: 1.0 Subject: Re: [PATCH] mm: further fix swapin race condition References: <20100903153958.GC16761@random.random> <20100915234237.GR5981@random.random> <20100916210349.GU5981@random.random> <20100918131907.GI18596@random.random> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org To: Hugh Dickins Cc: Linus Torvalds , Andrea Arcangeli , Greg KH , Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org List-ID: 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 > Cc: stable@kernel.org Reviewed-by: Rik van Riel -- All rights reversed -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org