aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJulian Wiedmann <[email protected]>2019-04-25 18:25:59 +0200
committerDavid S. Miller <[email protected]>2019-04-26 11:14:06 -0400
commit4e26c5fe552e5f0d9e3abcea48cd311af232bed9 (patch)
tree8e1cba39ad9346cc936c485515a61a4aada56800 /tools/perf/scripts/python/exported-sql-viewer.py
parent7b579ce57ecf73856a26173b04ab6053798c8e2a (diff)
s390/qeth: cache max number of available buffer elements
The QETH_MAX_BUFFER_ELEMENTS() macro effectively returns a constant value. To avoid some redundant pointer chasing and computations in the xmit hot path, cache this value in the queue struct. Take this as opportunity to shrink some of the queue struct's fields to their appropriate value range, slightly reducing its total size. Signed-off-by: Julian Wiedmann <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions