git: kernel - Change PROP_RWLOCK from spinlock to mtx

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Aug 25 00:06:40 PDT 2010


commit ba974ec48b8cbc8c84064444ecd45cf03a1e5b72
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Aug 24 23:54:56 2010 -0700

    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.

Summary of changes:
 sys/libprop/prop_object_impl.h |   21 +++++++++++++--------
 1 files changed, 13 insertions(+), 8 deletions(-)

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


-- 
DragonFly BSD source repository





More information about the Commits mailing list