Re: [PATCH, RFC 23/30] oss: msnd_pinnacle: avoid interruptible_sleep_on_timeout

From: Takashi Iwai
Date: Tue Jan 14 2014 - 10:16:12 EST


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@xxxxxxxx>
> Cc: Andrew Veliath <andrewtv@xxxxxxx>
> Cc: Jaroslav Kysela <perex@xxxxxxxx>
> Cc: Takashi Iwai <tiwai@xxxxxxx>
> Cc: alsa-devel@xxxxxxxxxxxxxxxx

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


Takashi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/