kernel - Change PROP_RWLOCK from spinlock to mtx
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 25 Aug 2010 06:54:56 +0000 (23:54 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 25 Aug 2010 06:54:56 +0000 (23:54 -0700)
commitba974ec48b8cbc8c84064444ecd45cf03a1e5b72
tree89414a5206029c8b84a9070c0ec2f1a9a16ef7c7
parente0e739f8950d09536c5cc0825e41b322360908b2
kernel - Change PROP_RWLOCK from spinlock to mtx

* The PROP_RWLOCK can be held across switches and sleeps and so cannot
  be a spinlock.

* Fixes spinlocks-held-during-switch panic.
sys/libprop/prop_object_impl.h