git: padlock - Rework locking

看板DFBSD_commit作者時間15年前 (2010/08/21 21:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1CRzLSUF (DFBSD_commit)