aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorGilad Naaman <[email protected]>2024-11-04 08:35:44 +0000
committerPaolo Abeni <[email protected]>2024-11-07 15:45:19 +0100
commit702c290a1cb16f4a64567cae0bedb848399f7915 (patch)
tree6cc091f87fa410368fefe890df445f2450095972 /tools/perf/scripts/python/task-analyzer.py
parent2a6f99ee1a805881c054c113f96cbebc0480cd2f (diff)
sctp: Avoid enqueuing addr events redundantly
Avoid modifying or enqueuing new events if it's possible to tell that no one will consume them. Since enqueueing requires searching the current queue for opposite events for the same address, adding addresses en-masse turns this inetaddr_event into a bottle-neck, as it will get slower and slower with each address added. Signed-off-by: Gilad Naaman <[email protected]> Acked-by: Xin Long <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions