DragonFly commits List (threaded) for 2007-06
DragonFly BSD
DragonFly commits List (threaded) for 2007-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 14 Jun 2007 18:37:33 -0700 (PDT)

::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@backplane.com>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]