summaryrefslogtreecommitdiffstats
path: root/sys/vm
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2008-04-04 19:14:58 +0000
committeralc <alc@FreeBSD.org>2008-04-04 19:14:58 +0000
commit927cf7f2282c9982b24549928f48eec178a5fe99 (patch)
tree8273743f56cec7a3279475b99e4a7e0513eb37b8 /sys/vm
parent067dba5f97f5aec73b22ae390047bd858ca388e1 (diff)
downloadFreeBSD-src-927cf7f2282c9982b24549928f48eec178a5fe99.zip
FreeBSD-src-927cf7f2282c9982b24549928f48eec178a5fe99.tar.gz
Update a comment to vm_map_pmap_enter().
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/vm_map.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c
index dfbba59..23fa0d1 100644
--- a/sys/vm/vm_map.c
+++ b/sys/vm/vm_map.c
@@ -1459,8 +1459,8 @@ vm_map_submap(
*
* Preload read-only mappings for the given object's resident pages into
* the given map. This eliminates the soft faults on process startup and
- * immediately after an mmap(2). Unless the given flags include
- * MAP_PREFAULT_MADVISE, cached pages are not reactivated and mapped.
+ * immediately after an mmap(2). Because these are speculative mappings,
+ * cached pages are not reactivated and mapped.
*/
void
vm_map_pmap_enter(vm_map_t map, vm_offset_t addr, vm_prot_t prot,
OpenPOWER on IntegriCloud