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

Re: cvs commit: src/sys/dev/sound/pcm buffer.c buffer.h channel.c sound.h


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Sun, 6 Jan 2008 12:49:12 -0800 (PST)

:
:Matthew Dillon wrote:
:> :  Call selwakeup() from an MP-protected taskqueue.
:>     Nice, that's a good stopgap until selwakeup can be made MP safe.
:
:Do you think we should keep this as a specific solution or should we 
:move it to selwakeup?  Selwakeup itself could defer processing if it 
:can't obtain the mp lock without blocking.
:
:cheers
:   simon

    I'm thinking it would be a good idea to build the hack into selwakeup
    itself, but you may also want to review potential races between selwakeup
    and closes on descriptors.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>



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