Module Name: src
Committed By: riastradh
Date: Mon Jun 14 18:44:37 UTC 2021
Modified Files:
src/sys/dev/pad: pad.c
Log Message:
pad(4): Refactor for clarity, and fix locking bugs.
- Don't touch sc_buflen outside sc_intr_lock.
- Omit needless broadcast in pad_halt_output -- nothing wakes on the
new condition (sc_buflen == 0), so this can't make a difference
except possibly in buggy code.
- Sprinkle KASSERTs.
To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 src/sys/dev/pad/pad.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.