Re: [Qemu-devel] [RFC v7 13/16] softmmu: Add history of excl accesses

2016-02-18 Thread alvise rigo
On Tue, Feb 16, 2016 at 6:07 PM, Alex Bennée wrote: > > Alvise Rigo writes: > >> Add a circular buffer to store the hw addresses used in the last >> EXCLUSIVE_HISTORY_LEN exclusive accesses. >> >> When an address is pop'ed from the buffer, its page will be set as not >> exclusive. In this way, we

Re: [Qemu-devel] [RFC v7 13/16] softmmu: Add history of excl accesses

2016-02-16 Thread Alex Bennée
Alvise Rigo writes: > Add a circular buffer to store the hw addresses used in the last > EXCLUSIVE_HISTORY_LEN exclusive accesses. > > When an address is pop'ed from the buffer, its page will be set as not > exclusive. In this way, we avoid: > - frequent set/unset of a page (causing frequent flu

[Qemu-devel] [RFC v7 13/16] softmmu: Add history of excl accesses

2016-01-29 Thread Alvise Rigo
Add a circular buffer to store the hw addresses used in the last EXCLUSIVE_HISTORY_LEN exclusive accesses. When an address is pop'ed from the buffer, its page will be set as not exclusive. In this way, we avoid: - frequent set/unset of a page (causing frequent flushes as well) - the possibility to