Subject: kern/27622: genfs_revoke deadlock
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <yamt@mwd.biglobe.ne.jp>
List: netbsd-bugs
Date: 10/29/2004 09:24:50
>Number: 27622
>Category: kern
>Synopsis: genfs_revoke deadlock
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Oct 29 00:25:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
>Release: NetBSD 2.99.9
>Organization:
>Environment:
System: NetBSD kaeru 2.99.9 NetBSD 2.99.9 (build.kaeru) #1843: Wed Oct 27 08:15:38 JST 2004 takashi@kaeru:/home/takashi/work/kernel/build.kaeru i386
Architecture: i386
Machine: i386
>Description:
genfs_revoke marks the given vnode as VXLOCK, and then calls vgone
for each alias vnodes. vgone will block if the vnode is already
marked as VXLOCK.
thus, it deadlocks if another thread does the same thing
for one of the alias vnodes in the meantime.
>How-To-Repeat:
code inspection.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: