Re: [PATCH] bpf: use raw_spinlock_t in ringbuf

From: patchwork-bot+netdevbpf
Date: Wed Sep 25 2024 - 06:00:38 EST


Hello:

This patch was applied to bpf/bpf.git (master)
by Daniel Borkmann <daniel@xxxxxxxxxxxxx>:

On Fri, 20 Sep 2024 16:06:59 -0300 you wrote:
> From: Wander Lairson Costa <wander.lairson@xxxxxxxxx>
>
> The function __bpf_ringbuf_reserve is invoked from a tracepoint, which
> disables preemption. Using spinlock_t in this context can lead to a
> "sleep in atomic" warning in the RT variant. This issue is illustrated
> in the example below:
>
> [...]

Here is the summary with links:
- bpf: use raw_spinlock_t in ringbuf
https://git.kernel.org/bpf/bpf/c/8b62645b09f8

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