[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 6/8] aio-wait: switch to smp_mb__after_rmw()
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH 6/8] aio-wait: switch to smp_mb__after_rmw() |
Date: |
Mon, 6 Mar 2023 09:38:56 -0500 |
On Fri, Mar 03, 2023 at 06:19:37PM +0100, Paolo Bonzini wrote:
> The barrier comes after an atomic increment, so it is enough to use
> smp_mb__after_rmw(); this avoids a double barrier on x86 systems.
>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> include/block/aio-wait.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
signature.asc
Description: PGP signature
- Re: [PATCH 4/8] edu: add smp_mb__after_rmw(), (continued)
[PATCH 5/8] util/async: add smp_mb__after_rmw() around BH enqueue/dequeue, Paolo Bonzini, 2023/03/03
[PATCH 6/8] aio-wait: switch to smp_mb__after_rmw(), Paolo Bonzini, 2023/03/03
[PATCH 7/8] qemu-coroutine-lock: add smp_mb__after_rmw(), Paolo Bonzini, 2023/03/03
[PATCH 8/8] physmem: add missing memory barrier, Paolo Bonzini, 2023/03/03
Re: [PATCH 0/8] Fix missing memory barriers on ARM, David Hildenbrand, 2023/03/06