summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2026-03-31 16:50:54 +0100
committerMarc Zyngier <maz@kernel.org>2026-04-01 14:29:06 +0100
commit2400696883870ec3fb0fb9925426c62a3383ca36 (patch)
tree21afad272730ff1e6df57fae82e97cdd7ecad4ee /tools/perf/scripts/python
parent760299a1d8102b36bed5c25c5a3f94b5a0eee081 (diff)
KVM: arm64: Allow get_pkvm_hyp_vm() to take a reference to a dying VM
Now that completion of the teardown path requires a refcount of zero for the target VM, we can allow get_pkvm_hyp_vm() to take a reference on a dying VM, which is necessary to unshare pages with a non-protected VM during the teardown process itself. Note that vCPUs belonging to a dying VM cannot be loaded and pages can only be reclaimed from a protected VM (via __pkvm_reclaim_dying_guest_page()) if the target VM is in the dying state. Signed-off-by: Will Deacon <will@kernel.org> Link: https://patch.msgid.link/20260331155056.28220-3-will@kernel.org Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions