• P
    exec: make iotlb RCU-friendly · 9d82b5a7
    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 TLB will be accessed outside
    the BQL.
    Reviewed-by: NFam Zheng <famz@redhat.com>
    Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
    9d82b5a7
cpu-exec.c 19.9 KB