freebsd-nq/sys/dev/sound/pcm
Don Lewis ca219d048a Convert sndstat_lock from a mutex to an sx lock. sndstat_read()
holds sndstat_lock across a call to uiomove(), which is not legal
to do with a  mutex because of the possibility that the data transfer
could sleep because of a page fault.  It is not possible to just
unlock the mutex for the uiomove() call without introducing another
locking mechanism to prevent the body of sndstat_read() from being
re-entered.  Converting sndstat_lock to an sx lock is the least
complicated change.

This is a candidate for RELENG_5.

LOR:		030
MFC after:	4 days
2004-09-10 09:37:06 +00:00
..
ac97_if.m
ac97_patch.c
ac97_patch.h
ac97.c Add support CS4294 2004-05-08 03:41:40 +00:00
ac97.h
buffer.c Don't do malloc(M_WAITOK) for sound buffers while locks are held. 2004-04-29 02:51:59 +00:00
buffer.h Change KASSERT() in feed_vchan16() into an explicit test and call to 2004-01-28 08:02:15 +00:00
channel_if.m
channel.c Create a new mutex type for virtual channels. This allows us to get 2004-02-28 19:47:02 +00:00
channel.h Create a new mutex type for virtual channels. This allows us to get 2004-02-28 19:47:02 +00:00
dsp.c Implement SNDCTL_DSP_SETDUPLEX. This may fix sound apps which want to 2004-07-02 15:31:44 +00:00
dsp.h
fake.c
feeder_fmt.c
feeder_if.m
feeder_rate.c
feeder.c
feeder.h
mixer_if.m
mixer.c Fix uninitialized variable, that breaks the build. 2004-06-25 16:34:33 +00:00
mixer.h Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
sndstat.c Convert sndstat_lock from a mutex to an sx lock. sndstat_read() 2004-09-10 09:37:06 +00:00
sound.c Rename the sound device drivers: 2004-07-16 04:00:08 +00:00
sound.h Rename the sound device drivers: 2004-07-16 04:00:08 +00:00
vchan.c Change KASSERT() in feed_vchan16() into an explicit test and call to 2004-01-28 08:02:15 +00:00
vchan.h