Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264091AbTEWQGd (ORCPT ); Fri, 23 May 2003 12:06:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264092AbTEWQGd (ORCPT ); Fri, 23 May 2003 12:06:33 -0400 Received: from bay-bridge.veritas.com ([143.127.3.10]:30090 "EHLO mtvmime03.VERITAS.COM") by vger.kernel.org with ESMTP id S264091AbTEWQGd (ORCPT ); Fri, 23 May 2003 12:06:33 -0400 Date: Fri, 23 May 2003 17:21:53 +0100 (BST) From: Hugh Dickins X-X-Sender: hugh@localhost.localdomain To: "Paul E. McKenney" cc: Andrew Morton , , , , Subject: Re: [RFC][PATCH] Avoid vmtruncate/mmap-page-fault race In-Reply-To: <20030523073500.A1549@us.ibm.com> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 919 Lines: 21 On Fri, 23 May 2003, Paul E. McKenney wrote: > On Tue, May 20, 2003 at 01:11:57AM -0700, Andrew Morton wrote: > > > > However there is not a lot of commonality between the various nopage()s and > > there may not be a lot to be gained from all this. There is subtle code in > > there and it is performance-critical. I'd be inclined to try to minimise > > overall code churn in this work. > > Good point! Here is a patch to do this. A "few" caveats: Sorry, I miss the point of this patch entirely. At the moment it just looks like an unattractive rearrangement - the code churn akpm advised against - with no bearing on that vmtruncate race. Please correct me. Hugh - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/