aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFlorian Westphal <[email protected]>2016-08-09 12:16:06 +0200
committerSteffen Klassert <[email protected]>2016-08-10 11:23:23 +0200
commitdf7274eb70b7c8488170ebe8757dd94647a8e1e5 (patch)
tree9c750e4e1ef1315fcc8a8dd517591b97b94cf955 /tools/perf/scripts/python
parent02efdff7e209859c2755ebe93b3bd0e3d40123ab (diff)
xfrm: state: delay freeing until rcu grace period has elapsed
The hash table backend memory and the state structs are free'd via kfree/vfree. Once we only rely on rcu during lookups we have to make sure no other cpu is currently accessing this before doing the free. Free operations already happen from worker so we can use synchronize_rcu to wait until concurrent readers are done. Signed-off-by: Florian Westphal <[email protected]> Signed-off-by: Steffen Klassert <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions