Searched hist:206409 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11.0-release/sys/vm/
H A Dvm_extern.hdiff 206409 Fri Apr 09 02:47:40 MDT 2010 alc Introduce the function kmem_alloc_attr(), which allocates kernel virtual
memory with the specified physical attributes. In particular, like
kmem_alloc_contig(), the caller can specify the physical address range
from which the physical pages are allocated and the memory attributes
(i.e., cache behavior) for these physical pages. However, in contrast to
kmem_alloc_contig() or contigmalloc(), the physical pages that are
allocated by kmem_alloc_attr() are not necessarily physically contiguous.
This function is needed by DRM and VirtualBox.

Correct an error in the prototype for kmem_malloc(). The third argument
had the wrong type.

Tested by: rnoland
MFC after: 3 days

Completed in 69 milliseconds