Subject: Re: allocate virtual address space without physical
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-kern
Date: 02/14/2005 08:32:49
On Feb 14, 2005, at 8:28 AM, Manuel Bouyer wrote:

> So uvm_km_valloc() does work for me. But the uvm(9) man page isn't 
> clear about
> this:
>      uvm_km_valloc() and uvm_km_valloc_wait() return a newly allocated 
> zero-
>      filled address in the kernel map of size size.  
> uvm_km_valloc_wait() will
>      also wait for kernel memory to become available, if there is a 
> memory
>      shortage.
>
> I took "zero-filled" as being memset to 0, which imply that physical 
> memory
> is associated with it.

zero-filled as in ZFOD.  It is demand-paged.

-- thorpej