aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorAlexei Starovoitov <[email protected]>2022-09-02 14:10:51 -0700
committerDaniel Borkmann <[email protected]>2022-09-05 15:33:06 +0200
commit8d5a8011b35d387c490a5c977b1d9eb4798aa071 (patch)
tree83f515cd987e8a9209f74a1941cc12df0fa0cb71 /tools/perf/scripts/python/event_analyzing_sample.py
parent7c266178aa51dd2d4fda1312c5990a8a82c83d70 (diff)
bpf: Batch call_rcu callbacks instead of SLAB_TYPESAFE_BY_RCU.
SLAB_TYPESAFE_BY_RCU makes kmem_caches non mergeable and slows down kmem_cache_destroy. All bpf_mem_cache are safe to share across different maps and programs. Convert SLAB_TYPESAFE_BY_RCU to batched call_rcu. This change solves the memory consumption issue, avoids kmem_cache_destroy latency and keeps bpf hash map performance the same. Signed-off-by: Alexei Starovoitov <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Kumar Kartikeya Dwivedi <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions