DragonFly BSD
DragonFly commits List (threaded) for 2013-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel - Fix TDF_NOFAULT issue related to vm.read_shortcut_enable.


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 30 May 2013 23:21:40 -0700 (PDT)

commit 43320d68c440d1951ca1bb6667b7947ecdec3695
Author: Matthew Dillon <dillon@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]