Entirely remove exec_map from the kernel. Use the new vm_fault_object_page()
authorMatthew Dillon <dillon@dragonflybsd.org>
Thu, 7 Jun 2007 23:14:29 +0000 (23:14 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Thu, 7 Jun 2007 23:14:29 +0000 (23:14 +0000)
commit18b3f4573dd73f98b9b9716883eda65014196d59
tree09909278a154e5f0b90189f352c826238ab97817
parentaa542ad5d58cc9a828834b0ae4086a3e04611261
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