On Oct 16, 2009, at 5:05 AM, Pawel Jakub Dawidek wrote: > In case of recursive call, mutex_exit() just decrements recursion > counter. For recursive locks I'd expect trylock always succeeds if lock > is already held. Just to clarify, NetBSD's kmutex_t does NOT support recursion. This is a feature. -- thorpej