diff options
author | Emilio G. Cota <cota@braap.org> | 2018-09-10 19:27:45 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-10-02 18:47:55 +0200 |
commit | 39fe576c82bc02749410ea16045109f7b7d4af62 (patch) | |
tree | 57f51b9625595796b130790deb9b3bc16610adfe /fpu | |
parent | ac8c77486cbdd5d7be17c447ca64cbebd330f25a (diff) | |
download | qemu-39fe576c82bc02749410ea16045109f7b7d4af62.zip qemu-39fe576c82bc02749410ea16045109f7b7d4af62.tar.gz qemu-39fe576c82bc02749410ea16045109f7b7d4af62.tar.bz2 |
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 'fpu')
0 files changed, 0 insertions, 0 deletions