diff options
author | alc <alc@FreeBSD.org> | 2002-06-08 07:32:38 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2002-06-08 07:32:38 +0000 |
commit | 75c335726c3d324435eb9a5d3ab9b529ec21b061 (patch) | |
tree | af43ad2b469193a0a301a9ba1975d8c06654b2bb /sys/vm/vm_map.h | |
parent | 38740250412b74e00ddeed31b89d7d2650d6d2de (diff) | |
download | FreeBSD-src-75c335726c3d324435eb9a5d3ab9b529ec21b061.zip FreeBSD-src-75c335726c3d324435eb9a5d3ab9b529ec21b061.tar.gz |
o Remove an unnecessary call to vm_map_wakeup() from vm_map_unwire().
o Add a stub for vm_map_wire().
Note: the description of the previous commit had an error. The in-
transition flag actually blocks the deallocation of a vm_map_entry by
vm_map_delete() and vm_map_simplify_entry().
Diffstat (limited to 'sys/vm/vm_map.h')
-rw-r--r-- | sys/vm/vm_map.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/vm/vm_map.h b/sys/vm/vm_map.h index 66e54fe..7dc819c 100644 --- a/sys/vm/vm_map.h +++ b/sys/vm/vm_map.h @@ -320,6 +320,8 @@ int vm_map_stack (vm_map_t, vm_offset_t, vm_size_t, vm_prot_t, vm_prot_t, int); int vm_map_growstack (struct proc *p, vm_offset_t addr); int vm_map_unwire(vm_map_t map, vm_offset_t start, vm_offset_t end, boolean_t user_unwire); +int vm_map_wire(vm_map_t map, vm_offset_t start, vm_offset_t end, + boolean_t user_wire); int vmspace_swap_count (struct vmspace *vmspace); int vm_uiomove(vm_map_t, vm_object_t, off_t, int, vm_offset_t, int *); #endif /* _KERNEL */ |