diff options
author | 2025-02-04 16:55:43 +0200 | |
---|---|---|
committer | 2025-02-05 18:53:57 -0800 | |
commit | 1370c45d6e7e3cbac4b6dc71f54fd6e167848900 (patch) | |
tree | 357247b5350ca57475cbd3f4623db9f18cae3a7d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | vxlan: Annotate FDB data races (diff) | |
download | wireguard-linux-1370c45d6e7e3cbac4b6dc71f54fd6e167848900.tar.xz wireguard-linux-1370c45d6e7e3cbac4b6dc71f54fd6e167848900.zip |
vxlan: Read jiffies once when updating FDB 'used' time
Avoid two volatile reads in the data path. Instead, read jiffies once
and only if an FDB entry was found.
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org>
Link: https://patch.msgid.link/20250204145549.1216254-3-idosch@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions