Skip to content
Snippets Groups Projects
Commit fe664831 authored by Davidlohr Bueso's avatar Davidlohr Bueso Committed by Marcel Holtmann
Browse files

Bluetooth: optimize barrier usage for Rmw atomics


Use smp_mb__before_atomic() instead of smp_mb() and avoid the
unnecessary barrier for non LL/SC architectures, such as x86.

Signed-off-by: default avatarDavidlohr Bueso <dbueso@suse.de>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 6c08fc89
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment