[PATCH v2] Bluetooth: btmtk: remove redundant memory barrier with helper
patchwork-bot+bluetooth at kernel.org
patchwork-bot+bluetooth at kernel.org
Fri Oct 23 14:00:38 PDT 2026
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz at intel.com>:
On Fri, 23 Oct 2026 11:36:45 +0200 you wrote:
> The test_and_clear_bit() call works as a full memory barrier, thus it is
> not required to emit a barrier using smp_mb__after_atomic() before
> wake_up_bit().
>
> Replace the whole sequences with test_and_clear_wake_up_bit(), which was
> introduced later in commit 52d633def56c ("sched: Add
> test_and_clear_wake_up_bit() and atomic_dec_and_wake_up()") as a wrapper
> for the correct sequence.
>
> [...]
Here is the summary with links:
- [v2] Bluetooth: btmtk: remove redundant memory barrier with helper
https://git.kernel.org/bluetooth/bluetooth-next/c/ebb8ee296578
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
More information about the Linux-mediatek
mailing list