git: kernel - Fix TDF_NOFAULT issue related to vm.read_shortcut_enable.
Matthew Dillon
dillon at crater.dragonflybsd.org
Thu May 30 23:21:40 PDT 2013
commit 43320d68c440d1951ca1bb6667b7947ecdec3695
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/43320d68c440d1951ca1bb6667b7947ecdec3695
--
DragonFly BSD source repository
More information about the Commits
mailing list