diff options
author | 2024-10-10 11:23:29 -0700 | |
---|---|---|
committer | 2024-10-25 12:57:59 -0400 | |
commit | 3dd48ecfac7fdbcba397a6378ab93c3a9b3cb802 (patch) | |
tree | 106d106422b982af1314fc0dcee374d59a71dc08 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | KVM: Use plain "struct page" pointer instead of single-entry array (diff) | |
download | wireguard-linux-3dd48ecfac7fdbcba397a6378ab93c3a9b3cb802.tar.xz wireguard-linux-3dd48ecfac7fdbcba397a6378ab93c3a9b3cb802.zip |
KVM: Provide refcounted page as output field in struct kvm_follow_pfn
Add kvm_follow_pfn.refcounted_page as an output for the "to pfn" APIs to
"return" the struct page that is associated with the returned pfn (if KVM
acquired a reference to the page). This will eventually allow removing
KVM's hacky kvm_pfn_to_refcounted_page() code, which is error prone and
can't detect pfns that are valid, but aren't (currently) refcounted.
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-28-seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions