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

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


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

commit 14dbf99ccb6a16ed10ccc205e5b7d6527ec5400e
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/14dbf99ccb6a16ed10ccc205e5b7d6527ec5400e


-- 
DragonFly BSD source repository



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