summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPeter Xu <peterx@redhat.com>2021-07-30 18:06:05 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2021-08-04 05:55:56 -0400
commita75b540451d20ef1aebaa09d183ddc5c44c6f86a (patch)
tree360879500a6da4239f9f03dcfb6ef70a5834b1b3 /tools/perf/scripts/python/export-to-postgresql.py
parent13236e25ebab91b3e42ddedf5354b569ace1b555 (diff)
KVM: X86: Optimize zapping rmap
Using rmap_get_first() and rmap_remove() for zapping a huge rmap list could be slow. The easy way is to travers the rmap list, collecting the a/d bits and free the slots along the way. Provide a pte_list_destroy() and do exactly that. Signed-off-by: Peter Xu <peterx@redhat.com> Message-Id: <20210730220605.26377-1-peterx@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions