]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: pcm: Remove down_write() hack for snd_pcm_link_rwsem
authorTakashi Iwai <tiwai@suse.de>
Tue, 22 Jan 2019 13:29:51 +0000 (14:29 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 23 Jan 2019 06:40:49 +0000 (07:40 +0100)
commit0caaed1b3ef257d00b1b0245c180516354353e93
treed896614a038efbd52b1fc5f965d9547bd860c3a4
parenta856cab7bd2528e993b1b341b8f63a11bacacc24
ALSA: pcm: Remove down_write() hack for snd_pcm_link_rwsem

Remove the hackish down_write_nonfifo() that was introduced as a
workaround of rwsem deadlock.

It used to be a problem for non-atomic PCM streams that take the rwsem
for the locking and hit the high lock contention.  Since the current
PCM locking refactoring, we'll no longer hit it as the hot code-paths
don't take global locks.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/pcm_native.c