freebsd-nq/sys/dev/sound/pcm
Don Lewis 466f31e55b Lock channels only as necessary in dsp_ioctl(), and only lock one
channel at a time unless it is actually necessary to lock both.
This avoids problems with lock order reversal and malloc() calls
with a mutex held when lower level code unlocks a channel, calls malloc(),
and relocks the channel.  This also avoids the cost of some  unnecessary
locking and unlocking.

Tested by:	matk
2004-02-28 19:42:48 +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
ac97.c Sync with DFBSD v.1.16. Add new codecs IDs, fix some spelling. 2004-01-23 16:38:54 +00:00
ac97.h update my email address. 2003-09-07 16:28:03 +00:00
buffer.c Change KASSERT() in feed_vchan16() into an explicit test and call to 2004-01-28 08:02:15 +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 Fix a glitch in my last commit and revert to using selwakeuppri 2004-02-20 01:24:57 +00:00
channel.h Change KASSERT() in feed_vchan16() into an explicit test and call to 2004-01-28 08:02:15 +00:00
dsp.c Lock channels only as necessary in dsp_ioctl(), and only lock one 2004-02-28 19:42:48 +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_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
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
mixer_if.m
mixer.c Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
mixer.h update my email address. 2003-09-07 16:28:03 +00:00
sndstat.c Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
sound.c Change KASSERT() in feed_vchan16() into an explicit test and call to 2004-01-28 08:02:15 +00:00
sound.h Change KASSERT() in feed_vchan16() into an explicit test and call to 2004-01-28 08:02:15 +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