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

git: kernel - Change PROP_RWLOCK from spinlock to mtx


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 25 Aug 2010 00:05:41 -0700 (PDT)

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



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