NetBSD-Bugs archive

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

Re: kern/41374: getnewvnode deadlock



The following reply was made to PR kern/41374; it has been noted by GNATS.

From: Andrew Doran <ad%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: kern-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
        netbsd-bugs%netbsd.org@localhost
Subject: Re: kern/41374: getnewvnode deadlock
Date: Sun, 10 May 2009 08:31:19 +0000

 On Thu, May 07, 2009 at 04:45:01AM +0000, yamt%mwd.biglobe.ne.jp@localhost 
wrote:
 
 >      in the case of getcleanvnode,
 >      set VI_XLOCK before incrementing v_usecount?
 
 I think insufficient because vtryget() is lockless. How about making XLOCK
 a flag bit in v_useconut?
 


Home | Main Index | Thread Index | Old Index