aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2018-07-17 15:26:43 +0000
committerTakashi Iwai <[email protected]>2018-07-17 15:33:17 +0000
commit39675f7a7c7e7702f7d5341f1e0d01db746543a0 (patch)
tree5109d844e69ee0f48e8575f487967a78cb8b9c3c /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parentALSA: hda/realtek - Add Panasonic CF-SZ6 headset jack quirk (diff)
downloadkernel-39675f7a7c7e7702f7d5341f1e0d01db746543a0.tar.gz
kernel-39675f7a7c7e7702f7d5341f1e0d01db746543a0.zip
ALSA: rawmidi: Change resized buffers atomically
The SNDRV_RAWMIDI_IOCTL_PARAMS ioctl may resize the buffers and the current code is racy. For example, the sequencer client may write to buffer while it being resized. As a simple workaround, let's switch to the resized buffer inside the stream runtime lock. Reported-by: [email protected] Cc: <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions