Paolo Bonzini 06831001ac atomics: eliminate mb_read/mb_set
qatomic_mb_read and qatomic_mb_set were the very first atomic primitives
introduced for QEMU; their semantics are unclear and they provide a false
sense of safety.

The last use of qatomic_mb_read() has been removed, so delete it.
qatomic_mb_set() instead can survive as an optimized
qatomic_set()+smp_mb(), similar to Linux's smp_store_mb(), but
rename it to qatomic_set_mb() to match the order of the two
operations.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2023-06-06 09:42:14 +02:00
..
2023-06-06 09:42:14 +02:00
2023-06-05 12:04:29 -07:00
2023-01-16 10:14:12 -10:00
2023-06-05 12:04:28 -07:00
2023-06-05 12:06:49 -07:00
2023-01-16 10:14:12 -10:00
2023-06-05 12:04:28 -07:00
2023-06-05 12:04:29 -07:00
2023-06-05 12:04:29 -07:00
2023-06-05 12:04:29 -07:00