Re: [PATCH bpf-next v3] rqspinlock: Keep claiming the lock while the queue head is still the tail
From: patchwork-bot+netdevbpf
Date: Tue Nov 24 2026 - 12:12:09 EST
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Kumar Kartikeya Dwivedi <memxor@xxxxxxxxx>:
On Thu, 19 Nov 2026 08:03:07 +0530 you wrote:
> From: Kumar Kartikeya Dwivedi <memxor@xxxxxxxxx>
>
> When the head of the wait queue claims the lock and its cmpxchg from
> n,0,0 to 0,0,1 fails, it sets the locked bit and waits for node->next,
> with no timeout. The comment, taken from qspinlock, says the cmpxchg
> can only fail if somebody queued behind us, or if a waiter set PENDING,
> which will then see our tail and queue behind us.
>
> [...]
Here is the summary with links:
- [bpf-next,v3] rqspinlock: Keep claiming the lock while the queue head is still the tail
https://git.kernel.org/bpf/bpf-next/c/bb5c4dfacff2
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html