[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<173697783222.891083.11459948002866992362.git-patchwork-notify@kernel.org>
Date: Wed, 15 Jan 2025 21:50:32 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Puranjay Mohan <puranjay@...nel.org>
Cc: song@...nel.org, jolsa@...nel.org, kpsingh@...nel.org,
mattbobrowski@...gle.com, ast@...nel.org, daniel@...earbox.net,
andrii@...nel.org, martin.lau@...ux.dev, eddyz87@...il.com,
yonghong.song@...ux.dev, john.fastabend@...il.com, sdf@...ichev.me,
haoluo@...gle.com, rostedt@...dmis.org, mhiramat@...nel.org,
mathieu.desnoyers@...icios.com, bpf@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-trace-kernel@...r.kernel.org,
puranjay12@...il.com
Subject: Re: [PATCH bpf] bpf: trace: send signals asynchronously if !preemptible
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@...nel.org>:
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
Powered by blists - more mailing lists