summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorQuentin Perret <qperret@google.com>2022-11-10 19:02:41 +0000
committerMarc Zyngier <maz@kernel.org>2022-11-11 16:40:54 +0000
commit9926cfce8dcb880255f30ab9ac930add787e1ead (patch)
tree46a94d0137504131710e83f42b4189a8ec9b63b8 /tools/perf/scripts/python/task-analyzer.py
parent43c1ff8b75011bc3e3e923adf31ba815864a2494 (diff)
KVM: arm64: Add helpers to pin memory shared with the hypervisor at EL2
Add helpers allowing the hypervisor to check whether a range of pages are currently shared by the host, and 'pin' them if so by blocking host unshare operations until the memory has been unpinned. This will allow the hypervisor to take references on host-provided data-structures (e.g. 'struct kvm') with the guarantee that these pages will remain in a stable state until the hypervisor decides to release them, for example during guest teardown. Tested-by: Vincent Donnefort <vdonnefort@google.com> Signed-off-by: Quentin Perret <qperret@google.com> Signed-off-by: Will Deacon <will@kernel.org> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20221110190259.26861-9-will@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions