Files
linux-stable-mirror/kernel
Tao ChenandGreg Kroah-Hartman 1d7c0e3e21 bpf: Remove migrate_disable in kprobe_multi_link_prog_run
[ Upstream commit abdaf49be5 ]

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: 0dcac27254 ("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>
2025-10-15 11:56:26 +02:00
..
2025-10-02 13:40:38 +02:00
2024-06-27 13:46:22 +02:00
2023-12-20 17:00:20 +01:00
2025-06-27 11:07:41 +01:00
2023-11-28 17:06:57 +00:00
2024-10-17 15:22:28 +02:00
2025-06-04 14:40:25 +02:00