bpf: Remove migrate_disable in kprobe_multi_link_prog_run
[ Upstream commit abdaf49b ] Graph tracer framework ensures we won't migrate, kprobe_multi_link_prog_run called all the way from graph tracer, which disables preemption in function_graph_enter_regs, as Jiri and Yonghong suggested, there is no need to use migrate_disable. As a result, some overhead may will be reduced. And add cant_sleep check for __this_cpu_inc_return. Fixes: 0dcac272 ("bpf: Add multi kprobe link") Signed-off-by:Tao Chen <chen.dylane@linux.dev> Signed-off-by:
Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20250814121430.2347454-1-chen.dylane@linux.dev Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please sign in to comment