git: ips - Mark queue_lock as LK_CANRECURSE

看板DFBSD_commit作者時間16年前 (2010/04/18 11:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
commit 845f5eade228bf80757b9727b34de489741b6391 Author: YONETANI Tomokazu <y0netan1@dragonflybsd.org> Date: Sun Apr 18 11:59:11 2010 +0900 ips - Mark queue_lock as LK_CANRECURSE Originally queue_lock was an LWKT reader-writer locks, which permitted multiple locks by the same thread, and in fact there are few code paths where such multiple locking is used. Doing the similar thing with lockmgr lock without either LK_NOWAIT or LK_CANRECURSE triggers a panic. Summary of changes: sys/dev/raid/ips/ips_pci.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/845f5eade228bf80757b9727b34de489741b6391 -- DragonFly BSD source repository
文章代碼(AID): #1Bodqrp_ (DFBSD_commit)
文章代碼(AID): #1Bodqrp_ (DFBSD_commit)