aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2021-12-01 08:36:05 +0100
committerTakashi Iwai <[email protected]>2021-12-02 09:01:58 +0100
commit8839c8c0f77ab8fc0463f4ab8b37fca3f70677c2 (patch)
tree527b7c4e1556ef64e69690f90dfa8fe47a6a9f3a /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
parent9d2479c960875ca1239bcb899f386970c13d9cfe (diff)
ALSA: pcm: oss: Limit the period size to 16MB
Set the practical limit to the period size (the fragment shift in OSS) instead of a full 31bit; a too large value could lead to the exhaust of memory as we allocate temporary buffers of the period size, too. As of this patch, we set to 16MB limit, which should cover all use cases. Reported-by: [email protected] Reported-by: Bixuan Cui <[email protected]> Cc: <[email protected]> Link: https://lore.kernel.org/r/[email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
0 files changed, 0 insertions, 0 deletions