lockmgr patch - was Re: cvs commit: src/sys/dev/sound/pcm channel.c...

Justin C. Sherrill justin at shiningsilence.com
Thu Jun 14 19:58:16 PDT 2007


On Thu, June 14, 2007 10:51 pm, Matthew Dillon wrote:
>     Please try this patch, it replaces spinlocks with lockmgr locks and
>     also centralizes the whole mess so we can try other schemes too if
>     need be:
>
> 	http://apollo.backplane.com/DFlyMisc/snd01.patch
>
>     I was able to play an mpeg audio file I had as a test, so I know I
>     haven't done anything dreadful :-)

Before we go too far with these fixes, would investing the effort in
OpenSound be better?

http://developer.opensound.com/

Anecdotally, it has more supported devices and cleaner code.  I thought
the sound code in FreeBSD was based off an older version of this.






More information about the Commits mailing list