Skip to content
  • Alexey Kardashevskiy's avatar
    9a62e24f
    memory: Open code FlatView rendering · 9a62e24f
    Alexey Kardashevskiy authored
    
    
    We are going to share FlatView's between AddressSpace's and per-AS
    memory listeners won't suit the purpose anymore so open code
    the dispatch tree rendering.
    
    Since there is a good chance that dispatch_listener was the only
    listener, this avoids address_space_update_topology_pass() if there is
    no registered listeners; this should improve starting time.
    
    This should cause no behavioural change.
    
    Signed-off-by: default avatarAlexey Kardashevskiy <aik@ozlabs.ru>
    Message-Id: <20170921085110.25598-3-aik@ozlabs.ru>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    9a62e24f
    memory: Open code FlatView rendering
    Alexey Kardashevskiy authored
    
    
    We are going to share FlatView's between AddressSpace's and per-AS
    memory listeners won't suit the purpose anymore so open code
    the dispatch tree rendering.
    
    Since there is a good chance that dispatch_listener was the only
    listener, this avoids address_space_update_topology_pass() if there is
    no registered listeners; this should improve starting time.
    
    This should cause no behavioural change.
    
    Signed-off-by: default avatarAlexey Kardashevskiy <aik@ozlabs.ru>
    Message-Id: <20170921085110.25598-3-aik@ozlabs.ru>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
Loading