git: DragonFly_RELEASE_4_8 procfs - Fix blocked lock condition

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Aug 5 18:06:11 PDT 2017


commit 44df547ccebff83429b2683675ace02e10c6f26c
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Aug 4 21:47:23 2017 -0700

    procfs - Fix blocked lock condition
    
    * Two procfs races can result in a lock being blocked forever.  Rip out
      the old single-variable global procfs lock and per-node lock and replace
      with a normal lockmgr lock.
    
    * The original lock existed from a time when all of procfs was wrapped with
      a global lock.  This is no longer the case.

Summary of changes:
 sys/vfs/procfs/procfs.h      |  5 +----
 sys/vfs/procfs/procfs_subr.c | 26 ++++++--------------------
 2 files changed, 7 insertions(+), 24 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/44df547ccebff83429b2683675ace02e10c6f26c


-- 
DragonFly BSD source repository



More information about the Commits mailing list