Subject: Re: uvm_vnp_setsize
To: Chuck Silvers <chuq@chuq.com>
From: Nathan J. Williams <nathanw@wasabisystems.com>
List: tech-kern
Date: 07/06/2006 14:00:26
Chuck Silvers <chuq@chuq.com> writes:

> a lockmgr() option for "tell me if I could take this lock but don't
> actually take it" would be even better.

Wait, when is that a good idea? If you don't take the lock when it's
avaliable, then the validity of "I could take the lock" could be true
when you examine it but false when you try to do something with it.

        - Nathan