summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_kern.c
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2003-08-01 19:51:43 +0000
committeralc <alc@FreeBSD.org>2003-08-01 19:51:43 +0000
commit9e28da88a0ecd470d55ce3e9eb72d136ea064dea (patch)
tree4f4cf16445a9aebf4c30b120cbe6fa3f2043f3a1 /sys/vm/vm_kern.c
parent39137cee4c9e3608610bcd4f5cccb60c97fde3b3 (diff)
downloadFreeBSD-src-9e28da88a0ecd470d55ce3e9eb72d136ea064dea.zip
FreeBSD-src-9e28da88a0ecd470d55ce3e9eb72d136ea064dea.tar.gz
Update the comment at the head of kmem_alloc_nofault() to describe its
purpose and use.
Diffstat (limited to 'sys/vm/vm_kern.c')
-rw-r--r--sys/vm/vm_kern.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/vm/vm_kern.c b/sys/vm/vm_kern.c
index 93676b2..826f5ae 100644
--- a/sys/vm/vm_kern.c
+++ b/sys/vm/vm_kern.c
@@ -119,7 +119,11 @@ kmem_alloc_pageable(map, size)
/*
* kmem_alloc_nofault:
*
- * Same as kmem_alloc_pageable, except that it create a nofault entry.
+ * Allocate a virtual address range with no underlying object and
+ * no initial mapping to physical memory. Any mapping from this
+ * range to physical memory must be explicitly created prior to
+ * its use, typically with pmap_qenter(). Any attempt to create
+ * a mapping on demand through vm_fault() will result in a panic.
*/
vm_offset_t
kmem_alloc_nofault(map, size)
OpenPOWER on IntegriCloud