diff options
author | 2025-01-10 16:29:45 -0800 | |
---|---|---|
committer | 2025-02-12 09:00:54 -0800 | |
commit | fe49f80052578cfe79411b6b47bb9ea278acbea8 (patch) | |
tree | 296613ce8f31de540041bc4b2eb4004b3958680f /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | KVM: selftests: Actually emit forced emulation prefix for kvm_asm_safe_fep() (diff) | |
download | wireguard-linux-fe49f80052578cfe79411b6b47bb9ea278acbea8.tar.xz wireguard-linux-fe49f80052578cfe79411b6b47bb9ea278acbea8.zip |
KVM: selftests: Support multiple write retires in dirty_log_test
If dirty_log_test is run nested, it is possible for entries in the emulated
PML log to appear before the actual memory write is committed to the RAM,
due to the way KVM retries memory writes as a response to a MMU fault.
In addition to that in some very rare cases retry can happen more than
once, which will lead to the test failure because once the write is
finally committed it may have a very outdated iteration value.
Detect and avoid this case.
Cc: Peter Xu <peterx@redhat.com>
Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Link: https://lore.kernel.org/r/20250111003004.1235645-2-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions