diff options
author | alc <alc@FreeBSD.org> | 1999-05-17 00:53:56 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 1999-05-17 00:53:56 +0000 |
commit | 936a55303324f390417668b877ccabddca5cc384 (patch) | |
tree | 710bb6c848d0b2fdbb018a2b9eeaac6b17679b33 /sys/vm/vm_map.h | |
parent | 1762400fc86f27481374190b1694040c5e805fcc (diff) | |
download | FreeBSD-src-936a55303324f390417668b877ccabddca5cc384.zip FreeBSD-src-936a55303324f390417668b877ccabddca5cc384.tar.gz |
Add the options MAP_PREFAULT and MAP_PREFAULT_PARTIAL to vm_map_find/insert,
eliminating the need for the pmap_object_init_pt calls in imgact_* and
mmap.
Reviewed by: David Greenman <dg@root.com>
Diffstat (limited to 'sys/vm/vm_map.h')
-rw-r--r-- | sys/vm/vm_map.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/vm/vm_map.h b/sys/vm/vm_map.h index 2f07515..cb9bb12 100644 --- a/sys/vm/vm_map.h +++ b/sys/vm/vm_map.h @@ -61,7 +61,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: vm_map.h,v 1.39 1999/05/14 23:09:34 alc Exp $ + * $Id: vm_map.h,v 1.40 1999/05/16 05:07:33 alc Exp $ */ /* @@ -308,6 +308,8 @@ vmspace_resident_count(struct vmspace *vmspace) #define MAP_UNUSED_01 0x1 #define MAP_COPY_ON_WRITE 0x2 #define MAP_NOFAULT 0x4 +#define MAP_PREFAULT 0x8 +#define MAP_PREFAULT_PARTIAL 0x10 /* * vm_fault option flags |