diff options
| author | Paolo Bonzini | 2013-05-29 12:07:03 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2013-07-04 17:42:45 +0200 |
| commit | b7e95164d1a9969aa591b8a72e05b94d08c49738 (patch) | |
| tree | 4bf043c4c8080907452fa1a0cc98a7f4055b4caf /include/exec | |
| parent | memory: destroy phys_sections one by one (diff) | |
| download | qemu-b7e95164d1a9969aa591b8a72e05b94d08c49738.tar.gz qemu-b7e95164d1a9969aa591b8a72e05b94d08c49738.tar.xz qemu-b7e95164d1a9969aa591b8a72e05b94d08c49738.zip | |
exec: simplify destruction of the phys map
Do not bother visiting the radix tree when an address space is destroyed.
After the previous patch, this has become a pointless exercise. When
called from address_space_destroy_dispatch, all you're doing is zeroing
out a structure that will be freed as soon as you come back. When called
from mem_begin, when phys_page_set_level will call phys_map_node_alloc the
radix tree's array will be zeroed too.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
