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]

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


From: Simon Schubert <corecode@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 5 Jan 2008 05:34:22 -0800 (PST)

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 
  Log:
  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


http://www.dragonflybsd.org/cvsweb/src/sys/dev/sound/pcm/buffer.c.diff?r1=1.9&r2=1.10&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/sound/pcm/buffer.h.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/sound/pcm/channel.c.diff?r1=1.14&r2=1.15&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/sound/pcm/sound.h.diff?r1=1.13&r2=1.14&f=u



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