aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2016-08-11 15:17:54 +0200
committerSteffen Klassert <steffen.klassert@secunet.com>2016-08-12 08:07:11 +0200
commit30846090a746edfdb230deadd638cfa96f7b8c91 (patch)
tree3f6aeebcccfc90ad302ea2ce6c567f55d1e52131 /tools/perf/scripts/python
parentxfrm: policy: prepare policy_bydst hash for rcu lookups (diff)
downloadlinux-30846090a746edfdb230deadd638cfa96f7b8c91.tar.gz
linux-30846090a746edfdb230deadd638cfa96f7b8c91.zip
xfrm: policy: add sequence count to sync with hash resize
Once xfrm_policy_lookup_bytype doesn't grab xfrm_policy_lock anymore its possible for a hash resize to occur in parallel. Use sequence counter to block lookup in case a resize is in progress and to also re-lookup in case hash table was altered in the mean time (might cause use to not find the best-match). Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions