aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2018-05-02 16:58:09 -0700
committerMartin K. Petersen <[email protected]>2018-05-18 10:36:09 -0400
commitbbe21d7a979245902113e171fdb36b57812b3c3b (patch)
tree065870886eef6ec945d0aa5f7e804c2017102969 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent66b7eaca548d716b86ae2417ec103a7f2f6c214c (diff)
scsi: ufs: ufshcd: Remove VLA usage
On the quest to remove all VLAs from the kernel[1] this moves buffers off the stack. In the second instance, this collapses two separately allocated buffers into a single buffer, since they are used consecutively, which saves 256 bytes (QUERY_DESC_MAX_SIZE + 1) of stack space. [1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@mail.gmail.com Signed-off-by: Kees Cook <[email protected]> Reviewed-by: Subhash Jadavani <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions