freebsd-dev/sys/dev/sound
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
..
isa Rename the sound device drivers: 2004-07-16 04:00:08 +00:00
pci The new contigmalloc code is exposing a lot of misuses of busdma memory 2004-08-22 18:57:40 +00:00
pcm Convert sndstat_lock from a mutex to an sx lock. sndstat_read() 2004-09-10 09:37:06 +00:00
usb Rename the sound device drivers: 2004-07-16 04:00:08 +00:00
chip.h - Handle an interrupt for csa primarily in the bridge driver, 2000-01-03 02:51:16 +00:00
driver.c Do a pass over all modules in the kernel and make them return EOPNOTSUPP 2004-07-15 08:26:07 +00:00