git: kernel - devfs - Fix deadlocks

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Aug 12 21:51:58 PDT 2010


commit a4141af4dd77376eff1e7ccca6419268806afab7
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Aug 12 21:49:03 2010 -0700

    kernel - devfs - Fix deadlocks
    
    * Fix a deadlocks when the core thread attempts to free a node.  The
      devfs lock must be released when obtaining the vnode lock.  Fixes
      issues with ls -la /dev/pts when running stress2{pts}.
    
    * Adjust devfs_config() to not attempt to message the devfs core thread
      if the core thread has terminated (fixes issues with reboot).

Summary of changes:
 sys/vfs/devfs/devfs_core.c |   58 ++++++++++++++++++++++++++++----------------
 1 files changed, 37 insertions(+), 21 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a4141af4dd77376eff1e7ccca6419268806afab7


-- 
DragonFly BSD source repository





More information about the Commits mailing list