Skip to content
Commit b7e95164 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

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: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 058bc4b5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment