Subject: Re: lock bug in getnewvnode, or uvm_km_kmemalloc/uvm_map ?
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Frank van der Linden <fvdl@wasabisystems.com>
List: tech-kern
Date: 11/19/2002 19:54:54
On Tue, Nov 19, 2002 at 03:46:41PM +0100, Manuel Bouyer wrote:
> getnewvnode() (the simple_lock is grabbed in getnewvnode)
> pool_get(PR_NOWAIT)
> pool_allocator_alloc()
> pool_page_alloc_nointr()
> uvm_km_alloc_poolpage1()
> uvm_km_kmemalloc()
> uvm_map()
> pool_get(PR_WAITOK)

I remember posting about this a while ago to this list, and proposing
a fix. Chuq at that time told me the fix was okay, but I never did
implement it.

If you search through the archive, you should find it somewhere.

- Frank