diff options
| author | riastradh <riastradh@NetBSD.org> | 2021-06-14 18:44:37 +0000 |
|---|---|---|
| committer | riastradh <riastradh@NetBSD.org> | 2021-06-14 18:44:37 +0000 |
| commit | 2fb84de928d49e6e5ec97972a260de4be3bc038a (patch) | |
| tree | 5b861f57a867d6378983f4b01273244ffa0943b5 /sys/dev/microcode | |
| parent | 7cb9e3d3582762e11e42edd97f90c369fe782da8 (diff) | |
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.
Diffstat (limited to 'sys/dev/microcode')
0 files changed, 0 insertions, 0 deletions
