Re: [PATCH v2 34/37] ALSA/dummy: Replace tasklet with softirq hrtimer

2017-10-23 Thread Takashi Iwai
On Sun, 22 Oct 2017 23:40:12 +0200, Anna-Maria Gleixner wrote: > > From: Thomas Gleixner > > The tasklet is used to defer the execution of snd_pcm_period_elapsed() to > the softirq context. Using the HRTIMER_MODE_SOFT mode invokes the timer > callback in softirq context as well which renders the

[PATCH v2 34/37] ALSA/dummy: Replace tasklet with softirq hrtimer

2017-10-22 Thread Anna-Maria Gleixner
From: Thomas Gleixner The tasklet is used to defer the execution of snd_pcm_period_elapsed() to the softirq context. Using the HRTIMER_MODE_SOFT mode invokes the timer callback in softirq context as well which renders the tasklet useless. [o-takashi: avoid stall due to a call of hrtimer_cancel()