Re: [PATCH bpf] bpf: trace: send signals asynchronously if !preemptible
From: patchwork-bot+netdevbpf
Date: Wed Jan 15 2025 - 16:50:19 EST
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:
On Wed, 15 Jan 2025 10:36:47 +0000 you wrote:
> BPF programs can execute in all kinds of contexts and when a program
> running in a non-preemptible context uses the bpf_send_signal() kfunc,
> it will cause issues because this kfunc can sleep.
>
> So change `irqs_disabled()` to `!preemptible()` that covers all edge
> cases: preempt_count() == 0 and irqs_disabled()
>
> [...]
Here is the summary with links:
- [bpf] bpf: trace: send signals asynchronously if !preemptible
https://git.kernel.org/bpf/bpf-next/c/87c544108b61
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html