Re: [PATCHv2 bpf-next] bpf: Prevent bpf program recursion for raw tracepoint probes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello:

This patch was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:

On Fri, 16 Sep 2022 09:19:14 +0200 you wrote:
> We got report from sysbot [1] about warnings that were caused by
> bpf program attached to contention_begin raw tracepoint triggering
> the same tracepoint by using bpf_trace_printk helper that takes
> trace_printk_lock lock.
> 
>  Call Trace:
>   <TASK>
>   ? trace_event_raw_event_bpf_trace_printk+0x5f/0x90
>   bpf_trace_printk+0x2b/0xe0
>   bpf_prog_a9aec6167c091eef_prog+0x1f/0x24
>   bpf_trace_run2+0x26/0x90
>   native_queued_spin_lock_slowpath+0x1c6/0x2b0
>   _raw_spin_lock_irqsave+0x44/0x50
>   bpf_trace_printk+0x3f/0xe0
>   bpf_prog_a9aec6167c091eef_prog+0x1f/0x24
>   bpf_trace_run2+0x26/0x90
>   native_queued_spin_lock_slowpath+0x1c6/0x2b0
>   _raw_spin_lock_irqsave+0x44/0x50
>   bpf_trace_printk+0x3f/0xe0
>   bpf_prog_a9aec6167c091eef_prog+0x1f/0x24
>   bpf_trace_run2+0x26/0x90
>   native_queued_spin_lock_slowpath+0x1c6/0x2b0
>   _raw_spin_lock_irqsave+0x44/0x50
>   bpf_trace_printk+0x3f/0xe0
>   bpf_prog_a9aec6167c091eef_prog+0x1f/0x24
>   bpf_trace_run2+0x26/0x90
>   native_queued_spin_lock_slowpath+0x1c6/0x2b0
>   _raw_spin_lock_irqsave+0x44/0x50
>   __unfreeze_partials+0x5b/0x160
>   ...
> 
> [...]

Here is the summary with links:
  - [PATCHv2,bpf-next] bpf: Prevent bpf program recursion for raw tracepoint probes
    https://git.kernel.org/bpf/bpf-next/c/05b24ff9b2cf

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux