Entirely remove exec_map from the kernel. Use the new vm_fault_object_page()
commitaa5ef359fe07ce4d727334976d2f7b30ce047e10
authorMatthew Dillon <dillon@dragonflybsd.org>
Thu, 7 Jun 2007 23:14:29 +0000 (7 23:14 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Thu, 7 Jun 2007 23:14:29 +0000 (7 23:14 +0000)
treea011af21906290792e9e90f1a5a863681ed05331
parent0e6720546978170c7d364cc404e933cfe412ca8b
Entirely remove exec_map from the kernel.  Use the new vm_fault_object_page()
for the data/bss special case in the elf loader, and use the objcache to
cache arguments for exec.

This in turn removes nearly all of the SMP page invalidation IPIs that
occur during fork/exec/exit/wait sequences by virtue of not needing to
map and unmap so much KVM.
sys/kern/imgact_elf.c
sys/kern/kern_exec.c
sys/platform/pc32/i386/machdep.c
sys/platform/vkernel/i386/autoconf.c
sys/vm/vm_kern.c
sys/vm/vm_kern.h