git: DragonFly_RELEASE_3_4 kernel - Fix TDF_NOFAULT issue related to vm.read_shortcut_enable.
Matthew Dillon
dillon at crater.dragonflybsd.org
Thu May 30 23:23:21 PDT 2013
commit 14dbf99ccb6a16ed10ccc205e5b7d6527ec5400e
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Thu May 30 23:16:29 2013 -0700
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().
Summary of changes:
sys/vm/vm_fault.c | 49 +++++++++++++++++++++++++++++++++----------------
1 file changed, 33 insertions(+), 16 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/14dbf99ccb6a16ed10ccc205e5b7d6527ec5400e
--
DragonFly BSD source repository
More information about the Commits
mailing list