Searched hist:"4 f7335e2" (Results 1 – 1 of 1) sorted by relevance
/qemu/tests/unit/ |
H A D | test-aio-multithread.c | diff 4f7335e2 Fri Mar 03 10:57:06 GMT 2023 Paolo Bonzini <pbonzini@redhat.com> test-aio-multithread: do not use mb_read/mb_set for simple flags
The remaining use of mb_read/mb_set is just to force a thread to exit eventually. It does not order two memory accesses and therefore can be just read/set.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> diff 4f7335e2 Fri Mar 03 10:57:06 GMT 2023 Paolo Bonzini <pbonzini@redhat.com> test-aio-multithread: do not use mb_read/mb_set for simple flags
The remaining use of mb_read/mb_set is just to force a thread to exit eventually. It does not order two memory accesses and therefore can be just read/set.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|