diff options
author | Sukadev Bhattiprolu <[email protected]> | 2021-09-14 20:52:57 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-09-15 11:12:24 +0100 |
commit | f8ac0bfa7d7acefecfa18da8e27ff67adaefe45c (patch) | |
tree | b007b4d83a3b9a82404e4db348590151a9c9569d /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 129854f061d8925a259f29b16d82bc19a23cf377 (diff) |
ibmvnic: Reuse LTB when possible
Reuse the long term buffer during a reset as long as its size has
not changed. If the size has changed, free it and allocate a new
one of the appropriate size.
When we do this, alloc_long_term_buff() and reset_long_term_buff()
become identical. Drop reset_long_term_buff().
Reviewed-by: Rick Lindsley <[email protected]>
Reviewed-by: Dany Madden <[email protected]>
Signed-off-by: Sukadev Bhattiprolu <[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