diff options
| author | Sean Christopherson <[email protected]> | 2020-02-18 13:07:25 -0800 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2020-03-16 17:57:21 +0100 |
| commit | 21198846de1c348304280436caf3a5dc936d5c65 (patch) | |
| tree | 5d622ab48c6afebfe57587e26a3c7347b314c2a2 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | 9d4c197c0e94c372ceffd2ffc53a23518f301ed9 (diff) | |
KVM: x86: Free arrays for old memslot when moving memslot's base gfn
Explicitly free the metadata arrays (stored in slot->arch) in the old
memslot structure when moving the memslot's base gfn is committed. This
eliminates x86's dependency on kvm_free_memslot() being called when a
memslot move is committed, and paves the way for removing the funky code
in kvm_free_memslot() that conditionally frees structures based on its
@dont param.
Reviewed-by: Peter Xu <[email protected]>
Signed-off-by: Sean Christopherson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions