This is type agnostic locked callout initializer. The callout_init_mtx()
and etc remain for compatibility.
Details
Details
- Reviewers
kib markj - Group Reviewers
Src Committers
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 76596 Build 73479: arc lint + arc unit
Event Timeline
| share/man/man9/callout.9 | ||
|---|---|---|
| 216 | ||
| share/man/man9/callout.9 | ||
|---|---|---|
| 198–199 | ||
| 247 | ||
| 267–268 | ||
| sys/sys/callout.h | ||
| 90 | As in D59457, I think it'd be better to provide a helper macro in some central place, so that other consumers do not need to duplicate the selector which extracts the lock_object pointer. Here, such a macro does not eliminate much code, but it'd still be a bit cleaner IMHO. | |