commit | 07f07b31e57efa6e4f563802136ffa1694a2692b | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Mon Feb 13 20:45:32 2012 +0200 |
committer | Avi Kivity <avi@redhat.com> | Wed Feb 29 13:44:45 2012 +0200 |
tree | 08279523676b35f6ab07c76d0c5914fcdec8d45b | |
parent | c19e8800d4a9c019299cc9232b4e628469a81d2d [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>