DragonFly commits List (threaded) for 2010-08
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: padlock - Rework locking
commit 69ae06e7e56e484ac3b75d1de9a71c0ec4228429
Author: Alex Hornung <ahornung@gmail.com>
Date: Sat Aug 21 13:25:03 2010 +0100
padlock - Rework locking
* Change lockmgr to spinlock (FreeBSD used to use rwlocks for this),
since there's no blocking in the locked sections.
* Fix several bugs where previously a shared lock was held although an
exclusive lock was required.
* Add a missing unlock in padlock_detach.
Summary of changes:
sys/crypto/via/padlock.c | 33 ++++++++++++++++++---------------
1 files changed, 18 insertions(+), 15 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/69ae06e7e56e484ac3b75d1de9a71c0ec4228429
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]