aboutsummaryrefslogtreecommitdiff
path: root/qemu-ga.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2012-02-13 20:45:32 +0200
committerAvi Kivity <avi@redhat.com>2012-02-29 13:44:45 +0200
commit07f07b31e57efa6e4f563802136ffa1694a2692b (patch)
tree08279523676b35f6ab07c76d0c5914fcdec8d45b /qemu-ga.c
parentc19e8800d4a9c019299cc9232b4e628469a81d2d (diff)
memory: allow phys_map tree paths to terminate early
When storing large contiguous ranges in phys_map, all values tend to be the same pointers to a single MemoryRegionSection. Collapse them by marking nodes with level > 0 as leaves. This reduces tree memory usage dramatically. Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'qemu-ga.c')
0 files changed, 0 insertions, 0 deletions