tech-kern archive

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

Re: Vnode API change: add global vnode cache



On Sat, 10 May 2014 01:29:47 +0000
Taylor R Campbell <campbell+netbsd-tech-kern%mumble.net@localhost> wrote:

>    Is it expected in vcache_common() for the interlock to remain held even
>    if returning an error?
> 
> vget unconditionally drops the interlock, so it will never remain
> held, error or not.

Oh, thanks.  I can now see that vget() must be called with it held, and
indeed drops it itself.
-- 
Matt


Home | Main Index | Thread Index | Old Index