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

From: Hugh Dickins (hugh@veritas.com)
Date: Fri May 23 2003 - 12:47:31 EST


On Fri, 23 May 2003, Daniel Phillips wrote:
> On Friday 23 May 2003 18:21, Hugh Dickins wrote:
> > 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.
>
> This is all about supporting cross-host mmap (nice trick, huh?). Yes,
> somebody should post a detailed rfc on that subject.

Ah, thanks - translated into terms that I can understand, so that
some ->nopage() not yet in the tree could do something after the
install_new_page() returns. Hmm. Can we be sure it's appropriate
for install_new_page to drop mm->page_table_lock before it returns?

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