tech-kern archive

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

Re: New diagnostic routine - mutex_ownable()



On Apr 30, 10:50pm, chuq%chuq.com@localhost (Chuck Silvers) wrote:
-- Subject: Re: New diagnostic routine - mutex_ownable()

| this is still much more expensive than necessary.
| it would be easy to add a new lockdebug interface to perform this check
| rather than using mutex_enter() to get the recursion-check part of
| lockdebug_wantlock() as a side-effect, so please do that.
| 
| even when using expensive checks, it's best not to make them
| more expensive than is really necessary.

:-). I always run with DEBUG/LOCKDEBUG/DIAGNOSTIC and it is still tolerable.


christos


Home | Main Index | Thread Index | Old Index