diff options
author | David Stevens <[email protected]> | 2021-10-15 12:30:21 -0400 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2021-10-22 05:19:25 -0400 |
commit | 1e76a3ce0d3cdfc6b506e21047a26471bc1cc92e (patch) | |
tree | 44855eb8b79c5f2a487a1d403169a3578e48ef53 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 3f9808cac06c8dd4f800101e04f84fe3180198b0 (diff) |
KVM: cleanup allocation of rmaps and page tracking data
Unify the flags for rmaps and page tracking data, using a
single flag in struct kvm_arch and a single loop to go
over all the address spaces and memslots. This avoids
code duplication between alloc_all_memslots_rmaps and
kvm_page_track_enable_mmu_write_tracking.
Signed-off-by: David Stevens <[email protected]>
[This patch is the delta between David's v2 and v3, with conflicts
fixed and my own commit message. - Paolo]
Co-developed-by: Sean Christopherson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions