DragonFly-2.3.2.65.g685eb master sys/kern kern_mutex.c sys/sys mutex.h mutex2.h
Matthew Dillon
dillon at crater.dragonflybsd.org
Wed Jul 15 19:49:03 PDT 2009
commit 685ebdab61459f9a21b78b3260fa119879e5c0fc
Author: Matthew Dillon <dillon at 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
More information about the Commits
mailing list