Re: [patch] 'virtual => physical page mapping cache', vcache-2.5.38-B8

From: Arjan van de Ven (arjanv@redhat.com)
Date: Sat Sep 28 2002 - 05:22:09 EST


On Fri, 2002-09-27 at 18:26, Linus Torvalds wrote:
>
> On Fri, 27 Sep 2002, Ingo Molnar wrote:
> >
> > the attached patch implements the virtual => physical cache. Right now
> > only the COW code calls the invalidation function, because futexes do not
> > need notification on unmap.
>
> Ok, looks good. Except you make get_user_page() do a write fault on the
> page, and one of the points of this approach was that that shouldn't even
> be needed. Or did I miss some case that does need it?

get_user_page() cannot/should not ever do a pagefault via the pagefault
code otherwise the coredump code will take the mmap semaphore
recursively and deadlock.



-
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 : Mon Sep 30 2002 - 22:00:36 EST