{"push_id":3136238435,"size":1,"distinct_size":1,"ref":"refs/heads/cm-14.1","head":"2d5da2fe1a8c1c57c59ef14ce31d6ac5c57df562","before":"0f5dca3bdf0db4ab34a54d6a9ae2eb682d2b9344","commits":[{"sha":"2d5da2fe1a8c1c57c59ef14ce31d6ac5c57df562","author":{"name":"Takashi Iwai","email":"4596b3305151c7ee743192a95d394341e3d3b644@suse.de"},"message":"ALSA: pcm: Call snd_pcm_unlink() conditionally at closing\n\ncommit b51abed8355e5556886623b2772fa6b7598d2282 upstream.\n\nCurrently the PCM core calls snd_pcm_unlink() always unconditionally\nat closing a stream.  However, since snd_pcm_unlink() invokes the\nglobal rwsem down, the lock can be easily contended.  More badly, when\na thread runs in a high priority RT-FIFO, it may stall at spinning.\n\nBasically the call of snd_pcm_unlink() is required only for the linked\nstreams that are already rare occasion.  For normal use cases, this\ncode path is fairly superfluous.\n\nAs an optimization (and also as a workaround for the RT problem\nabove in normal situations without linked streams), this patch adds a\ncheck before calling snd_pcm_unlink() and calls it only when needed.\n\nReported-by: Chanho Min <chanho.min@lge.com>\nCc: <stable@vger.kernel.org>\nSigned-off-by: Takashi Iwai <tiwai@suse.de>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","distinct":true,"url":"https://api.github.com/repos/syphyr/android_kernel_samsung_msm8976/commits/2d5da2fe1a8c1c57c59ef14ce31d6ac5c57df562"}]}
{"actor":{"display_login":"syphyr"}}