Thread (4 messages) flat view 4 messages, 4 authors, 2025-01-21

Re: [PATCH bpf] bpf: trace: send signals asynchronously if !preemptible

From: patchwork-bot+netdevbpf@kernel.org
Date: 2025-01-15 21:50:09
Also in: bpf, lkml

Hello:

This patch was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov [off-list ref]:

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help