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

git: kernel - devfs - Fix deadlocks


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 12 Aug 2010 21:50:52 -0700 (PDT)

commit a4141af4dd77376eff1e7ccca6419268806afab7
Author: Matthew Dillon <dillon@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



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