diff options
| author | Ackerley Tng <ackerleytng@google.com> | 2026-08-26 09:01:49 +0000 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-09-22 07:28:18 -0700 |
| commit | 3c427e5c03476f6267a75116e11c8646683378e6 (patch) | |
| tree | 7d8f379442f83e8b28ace5c115e59120b56ddff1 /tools/perf/scripts/python/flamegraph.py | |
| parent | acafcf32c83ec16631463eeed9e87e44177c2e49 (diff) | |
KVM: SEV: Drop page refcount early in VMSA reload
When reloading the guest VMSA for an SEV-SNP vCPU, KVM retrieves the PFN
from guest_memfd.
Drop the page reference immediately after retrieving the PFN instead of
holding it across MMU lock acquisition in preparation for a follow-up patch
to stop returning page pointers from guest_memfd PFN lookups.
This is safe because the page's validity and presence are governed by KVM's
MMU invalidation protocol rather than the page reference.
No functional change intended.
Reviewed-by: Michael Roth <michael.roth@amd.com>
Signed-off-by: Ackerley Tng <ackerleytng@google.com>
Link: https://patch.msgid.link/20260826-gmem-no-return-page-v4-4-3bb9c1ddb4e3@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
