Re: [PATCH net v2] rds: introduce acquire/release ordering in acquire/release_in_xmit()

From: patchwork-bot+netdevbpf
Date: Tue Mar 19 2024 - 07:30:37 EST


Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:

On Fri, 15 Mar 2024 18:28:38 +0900 you wrote:
> acquire/release_in_xmit() work as bit lock in rds_send_xmit(), so they
> are expected to ensure acquire/release memory ordering semantics.
> However, test_and_set_bit/clear_bit() don't imply such semantics, on
> top of this, following smp_mb__after_atomic() does not guarantee release
> ordering (memory barrier actually should be placed before clear_bit()).
>
> Instead, we use clear_bit_unlock/test_and_set_bit_lock() here.
>
> [...]

Here is the summary with links:
- [net,v2] rds: introduce acquire/release ordering in acquire/release_in_xmit()
https://git.kernel.org/netdev/net/c/1422f28826d2

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