commit | 2d1bedcb5eeab947066bff6e7ff34d4b720574a7 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Mon Feb 13 20:45:32 2012 +0200 |
committer | Michael S. Tsirkin <mst@redhat.com> | Wed Feb 29 00:42:48 2012 +0200 |
tree | 4a3939f87fddb0c4590dcf80de2f267ee71ebf75 | |
parent | 7fac322cbd34588fbff5577fb541ad1d04e18ac3 [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>