Files
qemu-esp-boards/include
Stefan Hajnoczi 03eebc9e32 memory: replace cpu_physical_memory_reset_dirty() with test-and-clear
The cpu_physical_memory_reset_dirty() function is sometimes used
together with cpu_physical_memory_get_dirty().  This is not atomic since
two separate accesses to the dirty memory bitmap are made.

Turn cpu_physical_memory_reset_dirty() and
cpu_physical_memory_clear_dirty_range_type() into the atomic
cpu_physical_memory_test_and_clear_dirty().

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <1417519399-3166-6-git-send-email-stefanha@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2015-06-05 17:10:00 +02:00
..
2015-05-29 12:53:12 +02:00
2015-02-06 16:11:38 +00:00
2015-05-11 14:49:03 +01:00
2015-05-11 08:59:07 -04:00
2015-06-05 17:10:00 +02:00
2015-05-27 17:52:03 +02:00
2015-02-16 15:07:19 +00:00
2015-02-05 17:16:14 +01:00