[Qemu-devel] [PATCH 2/9] exec: make iotlb RCU-friendly

2015-02-06 Thread Paolo Bonzini
After the previous patch, TLBs will be flushed on every change to the memory mapping. This patch augments that with synchronization of the MemoryRegionSections referred to in the iotlb array. With this change, it is guaranteed that iotlb_to_region will access the correct memory map, even once the

Re: [Qemu-devel] [PATCH 2/9] exec: make iotlb RCU-friendly

2015-02-03 Thread Fam Zheng
On Tue, 02/03 13:52, Paolo Bonzini wrote: > After the previous patch, TLBs will be flushed on every change to > the memory mapping. This patch augments that with synchronization > of the MemoryRegionSections referred to in the iotlb array. > > With this change, it is guaranteed that iotlb_to_regi

[Qemu-devel] [PATCH 2/9] exec: make iotlb RCU-friendly

2015-02-03 Thread Paolo Bonzini
After the previous patch, TLBs will be flushed on every change to the memory mapping. This patch augments that with synchronization of the MemoryRegionSections referred to in the iotlb array. With this change, it is guaranteed that iotlb_to_region will access the correct memory map, even once the