git: procfs - Fix blocked lock condition

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Aug 4 21:49:06 PDT 2017


commit dd8b310b76c571c1e437910b480a6efb98250758
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/dd8b310b76c571c1e437910b480a6efb98250758


-- 
DragonFly BSD source repository



More information about the Commits mailing list