tech-kern archive

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

Re: ZFS vs NetBSD vnode recycling

On Fri, Oct 16, 2009 at 11:58:08AM +0200, Adam Hamsik wrote:
> > That sounds like a better approach than your first suggestion because
> > it will (hopefully) avoid the overhead and delay in most cases.
> That approach seems like a hack to me because MUTEX_HELD should not be
> used for locking decisions, but we are doing the same in 1 and 3.

Yes, indeed, I missed that hitch. Can the same be achieved by
using mutex_tryenter()?

        Kind regards

Matthias Scheler                        

Home | Main Index | Thread Index | Old Index