git: kernel - Fix sendfile() based deadlock

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Aug 2 15:53:42 PDT 2013


commit 3d645fdc82a4bf3b54cfef070ac95e203bef42c6
Author: Matthew Dillon <dillon at 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


More information about the Commits mailing list