cvs commit: src/sys/dev/sound/pcm channel.c dsp.c dsp.h mixer.c sound.c sound.h vchan.c

Matthew Dillon dillon at apollo.backplane.com
Thu Jun 14 18:38:22 PDT 2007


::I know this is kind of a hack, but so useful :)  Plus this is since two y=
::ears in my tree and just has to get out.
::
::We should think if we can switch our locking to use lockmgr locks, becaus=
::e uaudio is taking some code paths which block and thus panic when using =
::spinlocks.
::
::cheers
::  simon
:
:    Hmm.  I think we will have to use the serializer, actually, and
:    not a lockmgr lock, because a lot of that code runs from an
:    interrupt thread and we really do not want to block interrupt
:    threads.   i.e. similar to what we do with NETIF.
:
:					-Matt

    Bleh.  I looked at it more carefully.  The sound driver is a huge
    mess.  Every little sub-driver has its own lock.

    I think we may have to use lockmgr locks after all.

					-Matt
					Matthew Dillon 
					<dillon at backplane.com>





More information about the Commits mailing list