Subject: Re: lock bug in getnewvnode, or uvm_km_kmemalloc/uvm_map ?
To: Andrew Brown <atatat@atatdot.net>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-kern
Date: 11/20/2002 20:31:22
On Wed, Nov 20, 2002 at 11:21:47PM -0500, Andrew Brown wrote:

 > yes, amap_extend() uses malloc, but at the same time, it will only get
 > called from a process context when extending an amap.  kernel map
 > entries don't use amaps.

Yah, but you don't want it to sleep while the caller is holding locks.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>