diff options
author | 2024-07-11 18:27:46 -0400 | |
---|---|---|
committer | 2024-07-26 14:46:14 -0400 | |
commit | 7fbdda31b0a14ff45809fb27182b98dcbcbad5b0 (patch) | |
tree | 9a8e0413f557c22fd713e8741a342705bf7cb996 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: guest_memfd: delay folio_mark_uptodate() until after successful preparation (diff) | |
download | linux-rng-7fbdda31b0a14ff45809fb27182b98dcbcbad5b0.tar.xz linux-rng-7fbdda31b0a14ff45809fb27182b98dcbcbad5b0.zip |
KVM: guest_memfd: do not go through struct page
We have a perfectly usable folio, use it to retrieve the pfn and order.
All that's needed is a version of folio_file_page that returns a pfn.
Reviewed-by: Michael Roth <michael.roth@amd.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