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

Matthew Dillon dillon at apollo.backplane.com
Sun Jan 6 12:49:49 PST 2008


:
: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 at backplane.com>





More information about the Commits mailing list