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-05-30 17:37:26 +02:00
2023-05-23 16:51:18 -07:00
2023-05-23 15:20:15 +08:00
2023-05-23 16:51:18 -07:00
2023-04-24 11:29:00 +02:00
2023-05-08 11:10:49 +02:00
2023-04-27 16:39:43 +02:00