]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: selftests: Precisely limit the number of guest loops in mmu_stress_test
authorSean Christopherson <seanjc@google.com>
Thu, 28 Nov 2024 00:55:42 +0000 (16:55 -0800)
committerSean Christopherson <seanjc@google.com>
Wed, 18 Dec 2024 22:15:00 +0000 (14:15 -0800)
commit82b542e1184884885fe2b4aabd47672540db02c7
treeb9e49b28da0f0049b74c84fc860c1f8b8c064b7c
parent3a042252640450fd288c56953bf21583d5198fba
KVM: selftests: Precisely limit the number of guest loops in mmu_stress_test

Run the exact number of guest loops required in mmu_stress_test instead
of looping indefinitely in anticipation of adding more stages that run
different code (e.g. reads instead of writes).

Reviewed-by: James Houghton <jthoughton@google.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Link: https://lore.kernel.org/r/20241128005547.4077116-12-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/mmu_stress_test.c