summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorEmilio G. Cota2018-09-11 01:27:45 +0200
committerPaolo Bonzini2018-10-02 18:47:55 +0200
commit39fe576c82bc02749410ea16045109f7b7d4af62 (patch)
tree57f51b9625595796b130790deb9b3bc16610adfe /include/exec
parentqsp: use atomic64 accessors (diff)
downloadqemu-39fe576c82bc02749410ea16045109f7b7d4af62.tar.gz
qemu-39fe576c82bc02749410ea16045109f7b7d4af62.tar.xz
qemu-39fe576c82bc02749410ea16045109f7b7d4af62.zip
test-rcu-list: access n_reclaims and n_nodes_removed with atomic64
To avoid undefined behaviour. Note that these "atomics" are atomic in the "access once" sense. The variables are updated by a single thread at a time, so no "full" atomics are necessary. Signed-off-by: Emilio G. Cota <cota@braap.org> Message-Id: <20180910232752.31565-6-cota@braap.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions