MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 77904 Build 74787: arc lint + arc unit
Event Timeline
Comment Actions
Seems ok. It would be nicer to annotate individual fields like we do for other structures, see struct vm_page for instance.
| sys/dev/sound/pcm/sound.h | ||
|---|---|---|
| 164 | It's also used for synchronizing with device teardown, I believe. | |
| 182 | Isn't it illegal to hold multiple channel locks at the same time? If not, then it would be nice to rework chn_resizebuf() to avoid dropping the (child) channel lock part-way through. BTW, that function still has some bugs in that it doesn't properly roll back state after an error, e.g., the CHN_F_HAS_SIZE flag. | |