summaryrefslogtreecommitdiff
path: root/exec.c
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <aik@ozlabs.ru>2017-09-21 18:51:04 +1000
committerPaolo Bonzini <pbonzini@redhat.com>2017-09-21 23:19:38 +0200
commit967dc9b1194a9281124b2e1ce67b6c3359a2138f (patch)
treec4a43ebddfafe78437e1b1fb7a0073132734eee2 /exec.c
parent02218487649558ed66c3689d4cc55250a42601d8 (diff)
downloadqemu-967dc9b1194a9281124b2e1ce67b6c3359a2138f.tar.gz
memory: Share FlatView's and dispatch trees between address spaces
This allows sharing flat views between address spaces (AS) when the same root memory region is used when creating a new address space. This is done by walking through all ASes and caching one FlatView per a physical root MR (i.e. not aliased). This removes search for duplicates from address_space_init_shareable() as FlatViews are shared elsewhere and keeping as::ref_count correct seems an unnecessary and useless complication. This should cause no change and memory use or boot time yet. Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Message-Id: <20170921085110.25598-13-aik@ozlabs.ru> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'exec.c')
0 files changed, 0 insertions, 0 deletions