Subject: Re: kernel mem
To: David Ferlier <david@netbsd-fr.org>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-kern
Date: 01/09/2003 14:37:50
On Thu, Jan 09, 2003 at 11:34:32PM +0100, David Ferlier wrote:

 > But let me ask another question. Does uvm_km_alloc alloc contiguous
 > pages ? (it's not said in the man page, and i am unsure of the meaning
 > of wired)

No, it does not.  You should not need to allocate physically contiguous
pages, in general.  You usually only need to do this for specific devices
that have stupid DMA controllers, and in that case, you use the bus_dma(9)
memory allocation primitives to do that.

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