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

Simon Schubert corecode at
Sat Jan 5 05:35:16 PST 2008

corecode    2008/01/05 05:34:22 PST

DragonFly src repository

  Modified files:
    sys/dev/sound/pcm    buffer.c buffer.h channel.c sound.h 
  Call selwakeup() from an MP-protected taskqueue.
  Before, we would call selwakeup() from interrupt context.  This
  was working as long kern.intr_mpsafe == 0.  selwakeup() however needs
  the MP lock held, so we can't call it directly from the interrupt
  when running with kern.intr_mpsafe=1.
  Instead, perform the wakeup from a "bottom half" taskqueue SWI to make the
  sound devices intr_mpsafe, as they claim to be.
  Revision  Changes    Path
  1.10      +17 -0     src/sys/dev/sound/pcm/buffer.c
  1.5       +1 -0      src/sys/dev/sound/pcm/buffer.h
  1.15      +14 -2     src/sys/dev/sound/pcm/channel.c
  1.14      +1 -0      src/sys/dev/sound/pcm/sound.h

More information about the Commits mailing list