Re: [PATCH] btrfs: optimize barrier usage for Rmw atomics
From: Nikolay Borisov
Date: Wed Jan 29 2020 - 14:07:36 EST
This is a multi-part message in MIME format.
On 29.01.20 Ð. 20:03 Ñ., Davidlohr Bueso wrote:
> Use smp_mb__after_atomic() instead of smp_mb() and avoid the
> unnecessary barrier for non LL/SC architectures, such as x86.
>
> Signed-off-by: Davidlohr Bueso <dbueso@xxxxxxx>
While on the topic of this I've been sitting on the following local
patch for about a year, care to review the barriers: