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 12:18:31PM +0200, Pawel Jakub Dawidek wrote:
> It depends how your mutex_tryenter() behaves in case of recursive call.

I hope that it fails. If it doesn't you don't know after a succesful
call of mutex_tryenter() whether you should call mutex_exit() or not.

> The code in FreeBSD takes care of three cases:

Thanks for the explaination.

        Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/


Home | Main Index | Thread Index | Old Index