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

DragonFly-2.3.2.65.g685eb master sys/kern kern_mutex.c sys/sys mutex.h mutex2.h


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 15 Jul 2009 19:48:25 -0700 (PDT)

commit 685ebdab61459f9a21b78b3260fa119879e5c0fc
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Wed Jul 15 19:38:39 2009 -0700

    MPSAFE - mutex - better exclusive lock sequencer, bug fixes, abort
    
    * Redo the exclusive lock chaining algorithm.  Use an explicit
      link structure and directly pass ownership to the next thread
      waiting on an exclusive lock.
    
    * Exclusive locks can be aborted via mtx_lock_ex_link() and
      mtx_abort_ex_link().
    
    * Lots of misc bug fixes.

Summary of changes:
 sys/kern/kern_mutex.c |  426 ++++++++++++++++++++++++++++++++++++++++++++-----
 sys/sys/mutex.h       |   27 +++-
 sys/sys/mutex2.h      |   28 ++++
 3 files changed, 435 insertions(+), 46 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/685ebdab61459f9a21b78b3260fa119879e5c0fc


-- 
DragonFly BSD source repository



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