Although this is not related to locking, but seems to be the right
place to catch violators, given that WITNESS_WARN is already used
widely in the kernel.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 70717 Build 67600: arc lint + arc unit
Event Timeline
Comment Actions
Immediately caught in bridge(4):
NET_EPOCH_ENTER(et); callout_drain(&sc->sc_brcallout);
| sys/kern/subr_witness.c | ||
|---|---|---|
| 2140 | IMO it is cleaner to inline THREAD_CAN_SLEEP() because the whole function operates on td. | |
| sys/kern/subr_witness.c | ||
|---|---|---|
| 2144 | ||