Re: [RFC][PATCH] Avoid vmtruncate/mmap-page-fault race

From: Hugh Dickins (hugh@veritas.com)
Date: Fri May 23 2003 - 11:21:53 EST


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/



This archive was generated by hypermail 2b29 : Fri May 23 2003 - 22:00:56 EST