summaryrefslogtreecommitdiff
path: root/translate-all.h
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2014-12-02 11:23:16 +0000
committerPaolo Bonzini <pbonzini@redhat.com>2015-06-05 17:10:00 +0200
commitd114875b9a1c21162f69a12d72f69a22e7bab376 (patch)
tree4e7dc4d1ae0b17be4d51d4aa529ecdbc6fa63ff0 /translate-all.h
parent36546e5b803f6e363906607307f27c489441fd15 (diff)
downloadqemu-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 'translate-all.h')
0 files changed, 0 insertions, 0 deletions