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: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Fri, 15 Jun 2007 08:33:13 +0200

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
Description: OpenPGP digital signature



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