aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorJohn Garry <[email protected]>2016-09-06 23:36:12 +0800
committerMartin K. Petersen <[email protected]>2016-09-14 12:54:17 -0400
commit4fde02ad66dc9ceb0b55daca21ef33b43df30ded (patch)
tree4c707c92f64c6c18bfaa4dd62c6e24f70fc0abbd /tools/perf/scripts/python/check-perf-trace.py
parente6c346f303d41b8799ea224d0faf1b2caa1c98db (diff)
scsi: hisi_sas: save delivery queue write pointer
Optimise by saving an avoidable read in the get_free_slot function. The delivery queue write pointer will only be updated by software, so don't bother re-reading what was already written in the previous call to start_delivery function. Signed-off-by: John Garry <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions