Make some adjustments to low level madvise/mcontrol/mmap support code to
authorMatthew Dillon <dillon@dragonflybsd.org>
Sun, 17 Sep 2006 21:07:32 +0000 (21:07 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sun, 17 Sep 2006 21:07:32 +0000 (21:07 +0000)
commit0daa37a565dd6754d2b977d4b056b488497af5b7
treeebdbc55df3e0c1658243026ee38e36efa9cac372
parentd521783d0d6f0b884180cadd42b9b6c9bd2193f5
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/emulation/43bsd/43bsd_vm.c
sys/emulation/linux/i386/linux_machdep.c
sys/kern/init_sysent.c
sys/kern/kern_exec.c
sys/kern/kern_exit.c
sys/kern/kern_fork.c
sys/kern/syscalls.c
sys/kern/syscalls.master