diff options
author | Cristian Dumitrescu <[email protected]> | 2021-01-14 14:33:15 +0000 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2021-02-08 17:19:03 -0800 |
commit | c8a8ca3408dcd28461d9bc8bceaf981e639272de (patch) | |
tree | 5e149b07ad1fbf73fc60def035f923ae88593e83 /tools/perf/scripts/python/stackcollapse.py | |
parent | 08cbabb77e9098ec6c4a35911effac53e943c331 (diff) |
i40e: remove unnecessary memory writes of the next to clean pointer
For performance reasons, avoid writing the ring next-to-clean pointer
value back to memory on every update, as it is not really necessary.
Instead, simply read it at initialization into a local copy, update
the local copy as necessary and write the local copy back to memory
after the last update.
Signed-off-by: Cristian Dumitrescu <[email protected]>
Tested-by: Kiran Bhandare <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions