]> git.proxmox.com Git - mirror_qemu.git/commit
qht-bench: relax test_start/stop atomic accesses
authorEmilio G. Cota <cota@braap.org>
Fri, 14 Oct 2016 09:54:51 +0000 (11:54 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 24 Oct 2016 13:27:19 +0000 (15:27 +0200)
commit977ec47de06bdcb24f01c93bc125b7c6c221a1c5
tree43957013107709b5ed29cb48ffedf5046d6dbd4d
parent803cf26a9e019b5d2256a8edeb22e3538c4f3261
qht-bench: relax test_start/stop atomic accesses

test_start/stop are used only as flags to loop on. Barriers are unnecessary,
since no dependent data is transferred among threads apart from the flags
themselves.

This commit relaxes the three accesses to test_start/stop that were
not yet relaxed.

Signed-off-by: Emilio G. Cota <cota@braap.org>
tests/qht-bench.c