看板 DFBSD_commit 關於我們 聯絡資訊
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