diff options
| author | Stefan Hajnoczi | 2014-12-02 12:23:16 +0100 |
|---|---|---|
| committer | Paolo Bonzini | 2015-06-05 17:10:00 +0200 |
| commit | d114875b9a1c21162f69a12d72f69a22e7bab376 (patch) | |
| tree | 4e7dc4d1ae0b17be4d51d4aa529ecdbc6fa63ff0 /include/exec/user | |
| parent | bitmap: add atomic test and clear (diff) | |
| download | qemu-d114875b9a1c21162f69a12d72f69a22e7bab376.tar.gz qemu-d114875b9a1c21162f69a12d72f69a22e7bab376.tar.xz qemu-d114875b9a1c21162f69a12d72f69a22e7bab376.zip | |
memory: use atomic ops for setting dirty memory bits
Use set_bit_atomic() and bitmap_set_atomic() so that multiple threads
can dirty memory without race conditions.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <1417519399-3166-4-git-send-email-stefanha@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/exec/user')
0 files changed, 0 insertions, 0 deletions
