diff options
| author | David Stevens <stevensd@chromium.org> | 2024-10-10 11:23:32 -0700 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-10-25 12:57:59 -0400 |
| commit | 2ff072ba7ad2deb1c3b2d231faa0ac3a25e2451b (patch) | |
| tree | 934f21186bbe6c62557b7f669ecab753cbb39a6f /tools/perf/scripts/python/stackcollapse.py | |
| parent | KVM: pfncache: Precisely track refcounted pages (diff) | |
| download | linux-2ff072ba7ad2deb1c3b2d231faa0ac3a25e2451b.tar.gz linux-2ff072ba7ad2deb1c3b2d231faa0ac3a25e2451b.zip | |
KVM: Migrate kvm_vcpu_map() to kvm_follow_pfn()
Migrate kvm_vcpu_map() to kvm_follow_pfn(), and have it track whether or
not the map holds a refcounted struct page. Precisely tracking struct
page references will eventually allow removing kvm_pfn_to_refcounted_page()
and its various wrappers.
Signed-off-by: David Stevens <stevensd@chromium.org>
[sean: use a pointer instead of a boolean]
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Tested-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-ID: <20241010182427.1434605-31-seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
