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

Simon 'corecode' Schubert corecode at
Thu Jun 14 23:34:33 PDT 2007

Matthew Dillon wrote:
: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 =
    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.
Problem is that there is some fine grained locking going on (mixer, channel, device) which can't be easily covered by a serializer which gets aquired on a interrupt.  we might have to rewrite the locking.

Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |      Against  HTML   \
Dude 2c 2 the max   !       Mail + News   / \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00004.pgp
Type: application/octet-stream
Size: 252 bytes
Desc: "Description: OpenPGP digital signature"
URL: <>

More information about the Commits mailing list