Commit 5092798
bpf: Remove migrate_disable in kprobe_multi_link_prog_run
bpf program should run under migration disabled, kprobe_multi_link_prog_run
called 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 maybe will be
reduced.
Fixes: 0dcac27 ("bpf: Add multi kprobe link")
Signed-off-by: Tao Chen <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Acked-by: Jiri Olsa <[email protected]>1 parent 9db1c0b commit 5092798
1 file changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2734 | 2734 | | |
2735 | 2735 | | |
2736 | 2736 | | |
2737 | | - | |
| 2737 | + | |
| 2738 | + | |
| 2739 | + | |
| 2740 | + | |
| 2741 | + | |
| 2742 | + | |
| 2743 | + | |
2738 | 2744 | | |
2739 | 2745 | | |
2740 | 2746 | | |
2741 | 2747 | | |
2742 | 2748 | | |
2743 | 2749 | | |
2744 | | - | |
2745 | 2750 | | |
2746 | 2751 | | |
2747 | 2752 | | |
| |||
0 commit comments