]> www.infradead.org Git - users/dwmw2/qemu.git/commit
memory: Open code FlatView rendering
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Thu, 21 Sep 2017 08:50:54 +0000 (18:50 +1000)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 5 Dec 2017 03:54:37 +0000 (21:54 -0600)
commit1b04a1580917d9e41fd37ca62cbff9b4bf061e96
treeafa68d3a1fa00f6fd393c25e85af094de725ed22
parent6424975ce912061ac9e4a375237b0c89d83d93e3
memory: Open code FlatView rendering

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: Alexey Kardashevskiy <aik@ozlabs.ru>
Message-Id: <20170921085110.25598-3-aik@ozlabs.ru>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 9a62e24f45bc97f8eaf198caf58906b47c50a8d5)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
exec.c
include/exec/memory-internal.h
include/exec/memory.h
memory.c