kernel - devfs - Fix deadlocks
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 13 Aug 2010 04:49:03 +0000 (21:49 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 13 Aug 2010 04:49:03 +0000 (21:49 -0700)
commita4141af4dd77376eff1e7ccca6419268806afab7
treee4821c4d92f823b8e899dfbcd76f21b65a6a165c
parent7f998e63df7d6579220d4244da685d3d9cd176d8
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).
sys/vfs/devfs/devfs_core.c