aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2003-08-01 19:51:43 +0000
committerAlan Cox <alc@FreeBSD.org>2003-08-01 19:51:43 +0000
commitb77c2bcd981959d2306d8d7814c51a9435a83e00 (patch)
tree4f4cf16445a9aebf4c30b120cbe6fa3f2043f3a1 /sys
parent5f589737a72ca705db82c3b8cd94b12c2395809c (diff)
Notes
Diffstat (limited to 'sys')
-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 93676b29f7756..826f5ae21d793 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)