diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2014-12-02 11:23:16 +0000 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-06-05 17:10:00 +0200 |
commit | d114875b9a1c21162f69a12d72f69a22e7bab376 (patch) | |
tree | 4e7dc4d1ae0b17be4d51d4aa529ecdbc6fa63ff0 /target-i386 | |
parent | 36546e5b803f6e363906607307f27c489441fd15 (diff) | |
download | 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 'target-i386')
0 files changed, 0 insertions, 0 deletions