_ebpf_link_instance_invoke_batch_begin/_ebpf_link_instance_invoke_batch_end use expensive EX_RUNDOWN_REF #3483
Labels
optimization
Affects perf but not correctness or applicability
P1
triaged
Discussed in a triage meeting
Milestone
_ebpf_link_instance_invoke_batch_begin and _ebpf_link_instance_invoke_batch_end use the expensive EX_RUNDOWN_REF construct.
Given that this block of code is already protected by epoch_enter/epoch_exit, the code should rely on epoch protection to detect when the last program using a program information has exited.
Proposed changes:
This will achieve two things:
The text was updated successfully, but these errors were encountered: