Subject: kern/27622: genfs_revoke deadlock
To: None <>
From: None <>
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
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 29 00:25:00 UTC 2004
>Originator:     YAMAMOTO Takashi <>
>Release:        NetBSD 2.99.9

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
	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.
	code inspection.