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 fs.ei.tum.de
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 =
:spinlocks.
    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.

cheers
 simon
--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \
Attachment:
signature.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00004.pgp
Type: application/octet-stream
Size: 252 bytes
Desc: "Description: OpenPGP digital signature"
URL: <http://lists.dragonflybsd.org/pipermail/commits/attachments/20070614/4e9d7e2d/attachment-0022.obj>


More information about the Commits mailing list