aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorGerhard Engleder <[email protected]>2023-04-21 19:46:51 +0000
committerJakub Kicinski <[email protected]>2023-04-25 01:22:38 +0000
commit42fb2962b4a6f8b46aa1c141748319e01d0c7c39 (patch)
tree3d661946f8721039e0bb21a0726dc9a3d989ab23 /tools/perf/scripts/python/exported-sql-viewer.py
parentnet: phy: dp83867: Add led_brightness_set support (diff)
downloadkernel-42fb2962b4a6f8b46aa1c141748319e01d0c7c39.tar.gz
kernel-42fb2962b4a6f8b46aa1c141748319e01d0c7c39.zip
tsnep: Replace modulo operation with mask
TX/RX ring size is static and power of 2 to enable compiler to optimize modulo operation to mask operation. Make this optimization already in the code and don't rely on the compiler. CPU utilisation during high packet rate has not changed. So no performance improvement has been measured. But it is best practice to prevent modulo operations. Suggested-by: Maciej Fijalkowski <[email protected]> Signed-off-by: Gerhard Engleder <[email protected]> Reviewed-by: Maciej Fijalkowski <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions