summaryrefslogtreecommitdiff
path: root/arch/arm64/kvm
diff options
context:
space:
mode:
authorOliver Upton <oliver.upton@linux.dev>2024-04-22 23:01:58 +0300
committerMarc Zyngier <maz@kernel.org>2024-04-25 15:19:56 +0300
commit96d36ad95b03c89857d405b3317efb0188ac59cb (patch)
tree372ce0640426c2e71dd800322d0d54889104f593 /arch/arm64/kvm
parentc3c369b508d9a447436b7abb2fded9aec18953ff (diff)
downloadlinux-96d36ad95b03c89857d405b3317efb0188ac59cb.tar.xz
KVM: selftests: Add stress test for LPI injection
Now that all the infrastructure is in place, add a test to stress KVM's LPI injection. Keep a 1:1 mapping of device IDs to signalling threads, allowing the user to scale up/down the sender side of an LPI. Make use of the new VM stats for the translation cache to estimate the translation hit rate. Since the primary focus of the test is on performance, you'll notice that the guest code is not pedantic about the LPIs it receives. Counting the number of LPIs would require synchronization between the device and vCPU threads to avoid coalescing and would get in the way of performance numbers. Signed-off-by: Oliver Upton <oliver.upton@linux.dev> Link: https://lore.kernel.org/r/20240422200158.2606761-20-oliver.upton@linux.dev Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'arch/arm64/kvm')
0 files changed, 0 insertions, 0 deletions