DragonFly BSD
DragonFly commits List (threaded) for 2010-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: ips - Mark queue_lock as LK_CANRECURSE


From: YONETANI Tomokazu <y0netan1@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 17 Apr 2010 20:09:34 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]