[alsa-devel] [PATCH, RFC 23/30] oss: msnd_pinnacle: avoid interruptible_sleep_on_timeout

Takashi Iwai tiwai at suse.de
Tue Jan 14 16:16:03 CET 2014


At Thu,  2 Jan 2014 13:07:47 +0100,
Arnd Bergmann wrote:
> 
> We want to remove all sleep_on variants from the kernel because they are
> racy. In case of the pinnacle driver, we can replace
> interruptible_sleep_on_timeout with wait_event_interruptible_timeout
> by changing the meaning of a few flags used in the driver so they
> are cleared at wakeup time, which is a somewhat more appropriate
> way to do the same, although probably still racy.
> 
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>
> Cc: Andrew Veliath <andrewtv at usa.net>
> Cc: Jaroslav Kysela <perex at perex.cz>
> Cc: Takashi Iwai <tiwai at suse.de>
> Cc: alsa-devel at alsa-project.org

I applied all 5 patches (23, 25, 24, 26, and 27) for sound/oss/*,
some with trivial space fixes.  Thanks!


Takashi


More information about the Alsa-devel mailing list