From: Takashi Iwai Subject: Re: [PATCH, RFC 23/30] oss: msnd_pinnacle: avoid interruptible_sleep_on_timeout Date: Tue, 14 Jan 2014 16:16:03 +0100 Message-ID: References: <1388664474-1710039-1-git-send-email-arnd@arndb.de> <1388664474-1710039-24-git-send-email-arnd@arndb.de> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <1388664474-1710039-24-git-send-email-arnd@arndb.de> Sender: linux-kernel-owner@vger.kernel.org To: Arnd Bergmann Cc: linux-kernel@vger.kernel.org, Andrew Veliath , Jaroslav Kysela , alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org 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 > Cc: Andrew Veliath > Cc: Jaroslav Kysela > Cc: Takashi Iwai > Cc: alsa-devel@alsa-project.org I applied all 5 patches (23, 25, 24, 26, and 27) for sound/oss/*, some with trivial space fixes. Thanks! Takashi