diff options
| author | Tao Chen <chen.dylane@linux.dev> | 2025-08-14 20:14:29 +0800 |
|---|---|---|
| committer | Andrii Nakryiko <andrii@kernel.org> | 2025-08-15 16:49:31 -0700 |
| commit | abdaf49be5424db74e19d167c10d7dad79a0efc2 (patch) | |
| tree | d6cb730018f6048f9a892f4b6cfc69c097bc2b5f /scripts/lib/kdoc/kdoc_re.py | |
| parent | c80d79720647ed77ebc0198abd5a0807efdaff0b (diff) | |
bpf: Remove migrate_disable in kprobe_multi_link_prog_run
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: 0dcac2725406 ("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
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions
