HomeFreeBSD

Properly assert that mtx_trylock() is not called on a mutex we already

Description

Properly assert that mtx_trylock() is not called on a mutex we already
owned. Previously the KASSERT would only trigger if we successfully
acquired a lock that we already held. However, _obtain_lock() fails to
acquire locks that we already hold, so the KASSERT was never checked in
the case it was supposed to fail.

Details

Provenance
jhbAuthored on Mar 4 2003, 8:30 PM
Parents
rGd7a715dc6490: Wrap the hyperthreading support code with the HTT kernel option.
Branches
Unknown
Tags
Unknown

Event Timeline