At Wed, 21 Jun 2006 10:32:34 +0200, Andreas Mohr wrote: > > Hi all, > > while listening to my 315th MP3 file played on this soundcard I had the > extreme mispleasure of experiencing a complete lockup of my box right > during shutdown of this file's playback, not even Magic SysRq worked > (characteristic sign of spinlock conflicts). > > I determined that it must have been the combination of not doing the _irqsave() > variant in the playback trigger function and then having another IRQ occur > (which tried to spinlock again, against the active lock in the playback trigger > function). By always doing _irqsave() everywhere we also don't need separate > locking in the IRQ handler any more (managed to reduce CPU load, too). I don't understand this. The local irq is already disabled in either snd_pcm_lib_write1() or snd_pcm_lib_read1() that are the sole callers of snd_pcm_start(). Ditto for snd_pcm_stop(). Takashi _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-devel