Re: [PATCH] ALSA: seq: Enable 'use' locking in all configurations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 18 Oct 2017 01:45:49 +0200,
Ben Hutchings wrote:
> 
> The 'use' locking macros are no-ops if neither SMP or SND_DEBUG is
> enabled.  This might once have been OK in non-preemptible
> configurations, but even in that case snd_seq_read() may sleep while
> relying on a 'use' lock.  So always use the proper implementations.
> 
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Ben Hutchings <ben.hutchings@xxxxxxxxxxxxxxx>

Yeah, this conditional build makes little sense nowadays although it
was meaningful in 20 years ago.

Applied now, thanks.


Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux