Make some adjustments to low level madvise/mcontrol/mmap support code to
authorMatthew Dillon <dillon@dragonflybsd.org>
Sun, 17 Sep 2006 21:09:40 +0000 (21:09 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sun, 17 Sep 2006 21:09:40 +0000 (21:09 +0000)
commitd33139419bd1b5efd5b0325120a0b90de9c88693
treefc71615afa1ae5b835b2c99c179a945ccdec000e
parent0daa37a565dd6754d2b977d4b056b488497af5b7
Make some adjustments to low level madvise/mcontrol/mmap support code to
accomodate vmspace_*() calls.

Reformulate the new vmspace_*() calls so they operate similarly to the
MAP_VPAGETABLE and mcontrol() calls.  This also makes vmspace's more
'programmable' in the sense that it will be possible to mix virtual
pagetable mmap()ings with other mmap()ing in a vmspace.

Fill in the code for all the new vmspace_*() calls except for
vmspace_ctl().  NOTE: vmspace calls are effectively disabled unless
vm.vkernel_enable is turned on, just like MAP_VPAGETABLE.

Renumber the new mcontrol() and vmspace_*() calls and regenerate.
sys/sys/kern_syscall.h
sys/sys/proc.h
sys/sys/syscall-hide.h
sys/sys/syscall.h
sys/sys/syscall.mk
sys/sys/sysproto.h
sys/sys/sysunion.h
sys/sys/vmspace.h
sys/vm/vm_extern.h
sys/vm/vm_mmap.c
sys/vm/vm_vmspace.c