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

git: kernel - Fix sendfile() based deadlock


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 2 Aug 2013 15:53:42 -0700 (PDT)

commit 3d645fdc82a4bf3b54cfef070ac95e203bef42c6
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Fri Aug 2 15:51:23 2013 -0700

    kernel - Fix sendfile() based deadlock
    
    * Fix a sendfile() based deadlock.  It turns out that after all of
      that work we can't soft-busy the page anyway because it can deadlock
      against a vfs_msync() -> ... -> vm_object_page_clean() sequence.
    
    Reported-by: pavalos

Summary of changes:
 sys/kern/uipc_syscalls.c | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3d645fdc82a4bf3b54cfef070ac95e203bef42c6


-- 
DragonFly BSD source repository



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