[alsa-devel] [PATCH v3 34/36] ALSA/dummy: Replace tasklet with softirq hrtimer

Takashi Iwai tiwai at suse.de
Wed Dec 6 17:27:33 CET 2017


On Wed, 29 Nov 2017 16:30:59 +0100,
Anna-Maria Gleixner wrote:
> 
> From: Thomas Gleixner <tglx at linutronix.de>
> 
> 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() on a callback
>             of hrtimer]
> 
> Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
> Signed-off-by: Anna-Maria Gleixner <anna-maria at linutronix.de>
> Cc: alsa-devel at alsa-project.org
> Cc: Takashi Sakamoto <o-takashi at sakamocchi.jp>
> Cc: Takashi Iwai <tiwai at suse.com>
> Cc: Jaroslav Kysela <perex at perex.cz>
> Link: http://lkml.kernel.org/r/20170905161820.jtysvxtfleunbbmf@breakpoint.cc

Feel free to take my ack:
  Reviewed-by: Takashi Iwai <tiwai at suse.de>


thanks,

Takashi


More information about the Alsa-devel mailing list