diff options
| author | Sven Eckelmann <sven@narfation.org> | 2026-06-11 10:48:34 +0200 |
|---|---|---|
| committer | Sven Eckelmann <sven@narfation.org> | 2026-06-28 22:09:04 +0200 |
| commit | 247691642fd4de7a029de253e47dba936542ce9f (patch) | |
| tree | 5acb8a75573c104edbffccae9221432bc6f3c4d9 /tools/perf/scripts/python/bin/task-analyzer-record | |
| parent | 6cd45ef4dfa5ba4daae126143a3d009d36687d80 (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/bin/task-analyzer-record')
0 files changed, 0 insertions, 0 deletions
