Re: [Qemu-devel] [PATCH 14/22] exec: only check relevant bitmaps for cleanliness

2015-03-27 Thread Paolo Bonzini
On 27/03/2015 07:10, Fam Zheng wrote: >> static inline bool cpu_physical_memory_range_includes_clean(ram_addr_t >> start, >> -ram_addr_t >> length) >> +ram_addr_t >> length,

Re: [Qemu-devel] [PATCH 14/22] exec: only check relevant bitmaps for cleanliness

2015-03-26 Thread Fam Zheng
On Thu, 03/26 18:38, Paolo Bonzini wrote: > Most of the time, not all bitmaps have to be marked as dirty; > do not do anything if the interesting ones are already dirty. > Previously, any clean bitmap would have cause all the bitmaps to be > marked dirty. > > In fact, unless running TCG most of th

[Qemu-devel] [PATCH 14/22] exec: only check relevant bitmaps for cleanliness

2015-03-26 Thread Paolo Bonzini
Most of the time, not all bitmaps have to be marked as dirty; do not do anything if the interesting ones are already dirty. Previously, any clean bitmap would have cause all the bitmaps to be marked dirty. In fact, unless running TCG most of the time bitmap operations are not done at all because m