summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2026-06-11 10:48:34 +0200
committerSven Eckelmann <sven@narfation.org>2026-06-28 22:09:04 +0200
commit247691642fd4de7a029de253e47dba936542ce9f (patch)
tree5acb8a75573c104edbffccae9221432bc6f3c4d9 /tools/perf/scripts/python/export-to-postgresql.py
parent6cd45ef4dfa5ba4daae126143a3d009d36687d80 (diff)
batman-adv: tp_meter: delay allocation of unacked entry
When batadv_tp_handle_out_of_order() searches the already existing list of unacked packets, it can often find an entry to merge with. In this case, it would be a waste of time and resources to allocate a batadv_tp_unacked which is then immediately freed again. Instead, search first through the list. Only when no mergeable entry could be found, it is necessary to record the place to allocate+store the new entry. Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions