Fix a bug vm_fault_page(). PG_MAPPED was not getting set, causing the
authorMatthew Dillon <dillon@dragonflybsd.org>
Thu, 11 Jan 2007 10:15:21 +0000 (10:15 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Thu, 11 Jan 2007 10:15:21 +0000 (10:15 +0000)
commit0035dca9f939733769a0d6ca5d85c5589add278f
tree3275ae498b5edffe469bdc95688161a92d92ca97
parentb1b21fa663d979a976290dbb7baecad3a20d83e9
Fix a bug vm_fault_page().  PG_MAPPED was not getting set, causing the
system to fail to remove pmap entries related to a VM page when reusing
the VM page.

General cleaning of vm_fault*() routines.  These routines now expect all
appropriate VM_PROT_* flags to be specified instead of just one.  Also
clean up the VM_FAULT_* flags.

Remove VM_FAULT_HOLD - it is no longer used.  vm_fault_page() handles the
functionality in a far cleaner fashion then vm_fault().
sys/platform/vkernel/i386/trap.c
sys/platform/vkernel/platform/copyio.c
sys/vfs/procfs/procfs_mem.c
sys/vm/vm_fault.c
sys/vm/vm_map.h