aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJustin Iurman <justin.iurman@uliege.be>2024-12-03 13:49:45 +0100
committerPaolo Abeni <pabeni@redhat.com>2024-12-05 11:15:56 +0100
commit985ec6f5e6235242191370628acb73d7a9f0c0ea (patch)
treec9e201081e292e1a3b20c34158eb006c542c0367 /tools/perf/scripts/python/export-to-postgresql.py
parentnet: ipv6: seg6_iptunnel: mitigate 2-realloc issue (diff)
downloadwireguard-linux-985ec6f5e6235242191370628acb73d7a9f0c0ea.tar.xz
wireguard-linux-985ec6f5e6235242191370628acb73d7a9f0c0ea.zip
net: ipv6: rpl_iptunnel: mitigate 2-realloc issue
This patch mitigates the two-reallocations issue with rpl_iptunnel by providing the dst_entry (in the cache) to the first call to skb_cow_head(). As a result, the very first iteration would still trigger two reallocations (i.e., empty cache), while next iterations would only trigger a single reallocation. Performance tests before/after applying this patch, which clearly shows there is no impact (it even shows improvement): - before: https://ibb.co/nQJhqwc - after: https://ibb.co/4ZvW6wV Signed-off-by: Justin Iurman <justin.iurman@uliege.be> Cc: Alexander Aring <aahringo@redhat.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions