diff options
| author | Emilio G. Cota | 2018-09-11 01:27:45 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2018-10-02 18:47:55 +0200 |
| commit | 39fe576c82bc02749410ea16045109f7b7d4af62 (patch) | |
| tree | 57f51b9625595796b130790deb9b3bc16610adfe /include/exec | |
| parent | qsp: use atomic64 accessors (diff) | |
| download | qemu-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
