kernel - Fix TDF_NOFAULT issue related to vm.read_shortcut_enable.
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 31 May 2013 06:16:29 +0000 (23:16 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 31 May 2013 06:23:14 +0000 (23:23 -0700)
commit14dbf99ccb6a16ed10ccc205e5b7d6527ec5400e
tree3695fc49c62f2bbf8454944bd15fdac85bbc5aa5
parentafd038168dbcec238dcce287d449a0f22c3c1966
kernel - Fix TDF_NOFAULT issue related to vm.read_shortcut_enable.

* TDF_NOFAULT was not preventing vm_fault() from calling vm_wait_pfault(),
  which could result in a deadlock in the read_shortcut path.  A combination
  of a low-memory situation plus the read_shortcut hitting the vm_fault
  sequence from uiomove_nofault().
sys/vm/vm_fault.c