aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorSabrina Dubroca <[email protected]>2021-04-25 21:47:12 +0200
committerSteffen Klassert <[email protected]>2021-05-14 13:52:01 +0200
commitfe9f1d8779cb47046e76ea209b6eece7ec56d1b4 (patch)
tree489289550003383fbb8c5d82b031ce9761643315 /tools/perf/scripts/python/export-to-sqlite.py
parent335a2a1fcefc948927e8c15636d9dc5d983b8f50 (diff)
xfrm: add state hashtable keyed by seq
When creating new states with seq set in xfrm_usersa_info, we walk through all the states already installed in that netns to find a matching ACQUIRE state (__xfrm_find_acq_byseq, called from xfrm_state_add). This causes severe slowdowns on systems with a large number of states. This patch introduces a hashtable using x->km.seq as key, so that the corresponding state can be found in a reasonable time. Signed-off-by: Sabrina Dubroca <[email protected]> Signed-off-by: Steffen Klassert <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions