aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/qapi-commands.py
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2017-02-27 12:17:26 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2017-02-27 14:00:53 +0000
commit1ab17f9f5c63c2798d707aeb22588e4fcc17b2cd (patch)
tree6ae3e0784c3a75bcea37c3d30bce2c2fb8a0b5f1 /scripts/qapi-commands.py
parentiscsi: do not use aio_context_acquire/release (diff)
downloadqemu-1ab17f9f5c63c2798d707aeb22588e4fcc17b2cd.tar.xz
qemu-1ab17f9f5c63c2798d707aeb22588e4fcc17b2cd.zip
tests-aio-multithread: use atomic_read properly
nodes[id].next is written by other threads. If atomic_read is not used (matching atomic_set in mcs_mutex_lock!) the compiler can optimize the whole "if" away! Reported-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Tested-by: Greg Kurz <groug@kaod.org> Message-id: 20170227111726.9237-1-pbonzini@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'scripts/qapi-commands.py')
0 files changed, 0 insertions, 0 deletions