aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorBjörn Töpel <[email protected]>2019-12-19 07:10:00 +0100
committerAlexei Starovoitov <[email protected]>2019-12-19 21:09:43 -0800
commit4bc188c7f23a5a308d7f15dda1b6a286d74e8954 (patch)
tree83c19b0d701bca3d878b02c99c693b7b6df9bb82 /tools/perf/scripts/python/bin
parent0536b85239b8440735cdd910aae0eb076ebbb439 (diff)
xdp: Simplify cpumap cleanup
After the RCU flavor consolidation [1], call_rcu() and synchronize_rcu() waits for preempt-disable regions (NAPI) in addition to the read-side critical sections. As a result of this, the cleanup code in cpumap can be simplified * There is no longer a need to flush in __cpu_map_entry_free, since we know that this has been done when the call_rcu() callback is triggered. * When freeing the map, there is no need to explicitly wait for a flush. It's guaranteed to be done after the synchronize_rcu() call in cpu_map_free(). [1] https://lwn.net/Articles/777036/ Signed-off-by: Björn Töpel <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Toke Høiland-Jørgensen <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions