From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756171Ab1E2AYA (ORCPT ); Sat, 28 May 2011 20:24:00 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:37626 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753285Ab1E2AX7 (ORCPT ); Sat, 28 May 2011 20:23:59 -0400 MIME-Version: 1.0 In-Reply-To: References: <1306617270.2497.516.camel@laptop> From: Linus Torvalds Date: Sat, 28 May 2011 17:23:36 -0700 Message-ID: Subject: Re: [PATCH] mm: fix page_lock_anon_vma leaving mutex locked To: Hugh Dickins Cc: Peter Zijlstra , Andrew Morton , Rik van Riel , linux-kernel@vger.kernel.org, linux-mm@kvack.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, May 28, 2011 at 5:12 PM, Hugh Dickins wrote: > > Though I think I'm arriving at the conclusion that this patch > is correct as is, despite the doubts that have arisen. Well, you hopefully saw my second email where I had come to the same conclusion. So I applied the third patch as well, after all. I think it's at the very least at least "more correct" than what we have now. Whether that "page_mapped()" should then be extended to do something else is an additional thing, and I suspect it would affect the slow-path case too. I dunno. Linus