85f6230a1d
another process is in open() or stat() for the device node, then close() from the owning process does not result in cdevsw close method call. This fixes the pemanent "Device busy" seen. Changed the sndstat_lock from mutex to sx. This allows to extend the region covered by the lock, to include the uiomove() call in sndstat_read() and bufptr increment. This fixes the "panic: sbuf_put_byte called with finished or corrupt sbuf" seen. In collaboration with: kib MFC after: 1 week |
||
---|---|---|
.. | ||
ac97_if.m | ||
ac97_patch.c | ||
ac97_patch.h | ||
ac97.c | ||
ac97.h | ||
buffer.c | ||
buffer.h | ||
channel_if.m | ||
channel.c | ||
channel.h | ||
dsp.c | ||
dsp.h | ||
feeder_chain.c | ||
feeder_eq.c | ||
feeder_format.c | ||
feeder_if.m | ||
feeder_matrix.c | ||
feeder_mixer.c | ||
feeder_rate.c | ||
feeder_volume.c | ||
feeder.c | ||
feeder.h | ||
g711.h | ||
intpcm.h | ||
matrix_map.h | ||
matrix.h | ||
mixer_if.m | ||
mixer.c | ||
mixer.h | ||
pcm.h | ||
sndstat.c | ||
sndstat.h | ||
sound.c | ||
sound.h | ||
vchan.c | ||
vchan.h |