From 9e28da88a0ecd470d55ce3e9eb72d136ea064dea Mon Sep 17 00:00:00 2001 From: alc Date: Fri, 1 Aug 2003 19:51:43 +0000 Subject: Update the comment at the head of kmem_alloc_nofault() to describe its purpose and use. --- sys/vm/vm_kern.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sys/vm') 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) -- cgit v1.1