diff options
| author | Avi Kivity <avi@redhat.com> | 2012-02-13 20:45:32 +0200 |
|---|---|---|
| committer | Avi Kivity <avi@redhat.com> | 2012-02-29 13:44:45 +0200 |
| commit | 07f07b31e57efa6e4f563802136ffa1694a2692b (patch) | |
| tree | 08279523676b35f6ab07c76d0c5914fcdec8d45b /scripts/qapi-types.py | |
| parent | c19e8800d4a9c019299cc9232b4e628469a81d2d (diff) | |
| download | focaccia-qemu-07f07b31e57efa6e4f563802136ffa1694a2692b.tar.gz focaccia-qemu-07f07b31e57efa6e4f563802136ffa1694a2692b.zip | |
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 'scripts/qapi-types.py')
0 files changed, 0 insertions, 0 deletions