freebsd-src/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.c Add support CS4294 2004-05-08 03:41:40 +00:00
ac97.h update my email address. 2003-09-07 16:28:03 +00:00
ac97_if.m
ac97_patch.c Add patch for AD198x. 2003-08-21 15:44:55 +00:00
ac97_patch.h Add patch for AD198x. 2003-08-21 15:44:55 +00:00
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.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
channel_if.m
dsp.c Implement SNDCTL_DSP_SETDUPLEX. This may fix sound apps which want to 2004-07-02 15:31:44 +00:00
dsp.h Fix a panic when kldloading a sound driver. Do this by replacing the 2004-01-20 03:58:57 +00:00
fake.c update my email address. 2003-09-07 16:28:03 +00:00
feeder.c update my email address. 2003-09-07 16:28:03 +00:00
feeder.h update my email address. 2003-09-07 16:28:03 +00:00
feeder_fmt.c update my email address. 2003-09-07 16:28:03 +00:00
feeder_if.m
feeder_rate.c Additional malloc failure checks. 2003-04-20 17:08:56 +00:00
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
mixer_if.m
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 update my email address. 2003-09-07 16:28:03 +00:00