• P
    exec: remove cur_map · 6092666e
    Paolo Bonzini 提交于
    cur_map is not used anymore; instead, each AddressSpaceDispatch
    has its own nodes/sections pair.  The priorities of the
    MemoryListeners, and in the future RCU, guarantee that the
    nodes/sections are not freed while they are still in use.
    
    (In fact, next_map itself is not needed except to free the data on the
    next update).
    
    To avoid incorrect use, replace cur_map with a temporary copy that
    is only valid while the topology is being updated.  If you use it,
    the name prev_map makes it clear that you're doing something weird.
    Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
    6092666e
exec.c 72.4 KB