On Thu, Oct 29, 2015 at 10:31 PM, Michael McConville <mm...@mykolab.com> wrote: > This one confused me for a few minutes. See sys/uvm/uvm_user.c for the > function definition. > > ok?
looks like it's been out of sync since r1.10 in 2002. ok. > > > Index: share/man/man9/uvm.9 > =================================================================== > RCS file: /cvs/src/share/man/man9/uvm.9,v > retrieving revision 1.60 > diff -u -p -r1.60 uvm.9 > --- share/man/man9/uvm.9 15 Jan 2015 21:19:22 -0000 1.60 > +++ share/man/man9/uvm.9 30 Oct 2015 02:29:52 -0000 > @@ -131,7 +131,7 @@ function initialises the swap subsystem. > .Fn uvm_map_checkprot "vm_map_t map" "vaddr_t start" "vaddr_t end" > "vm_prot_t protection" > .Ft int > .Fn uvm_map_protect "vm_map_t map" "vaddr_t start" "vaddr_t end" "vm_prot_t > new_prot" "boolean_t set_max" > -.Ft int > +.Ft void > .Fn uvm_deallocate "vm_map_t map" "vaddr_t start" "vsize_t size" > .Ft struct vmspace * > .Fn uvmspace_alloc "vaddr_t min" "vaddr_t max" "boolean_t pageable" > "boolean_t remove_holes" >