Takashi Iwai 900498a34a ALSA: pcm: Allow aborting mutex lock at OSS read/write loops
PCM OSS read/write loops keep taking the mutex lock for the whole
read/write, and this might take very long when the exceptionally high
amount of data is given.  Also, since it invokes with mutex_lock(),
the concurrent read/write becomes unbreakable.

This patch tries to address these issues by replacing mutex_lock()
with mutex_lock_interruptible(), and also splits / re-takes the lock
at each read/write period chunk, so that it can switch the context
more finely if requested.

Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2018-01-08 16:40:26 +01:00
..
2017-12-22 10:56:56 +01:00
2017-11-13 15:45:57 +01:00
2017-11-13 15:45:57 +01:00
2017-11-13 15:45:57 +01:00
2017-12-20 17:36:04 +01:00
2017-11-13 15:45:57 +01:00
2017-11-13 15:45:57 +01:00