HomeFreeBSD

Call WITNESS_WARN() in callout_drain() to check whether any locks are

Description

Call WITNESS_WARN() in callout_drain() to check whether any locks are
being held before sleeping.

This has bitten me (in ath(4)) once before and I'd like to see this
not bite anyone else.

Differential Revision: D1638
Reviewed by: jhb, hselasky
MFC after: 1 week

Details

Provenance
adrianAuthored on
Reviewer
jhb
Parents
rS277722: Merge 272659:
Branches
Unknown
Tags
Unknown

Event Timeline