Right now there's no witness warning to the callout_drain() routine.
This tripped me whilst debugging the way ath(4) was using callouts.
Details
Details
- Reviewers
jhb • hselasky
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
Comment Actions
I think this is a good idea. D1438 also adds such an assert.
Note that "c->c_lock" can be NULL. Else no further comments.
Comment Actions
witness_warn() is ok with lock being NULL - it's the only lock that's currently allowed to be held during sleep. So it's fine to be NULL.