diff options
| author | Piotr Zarycki <piotr.zarycki@gmail.com> | 2026-04-22 15:03:07 +0200 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-05-13 09:54:44 -0700 |
| commit | 749fbf2bdcd71f6fdd2524f0f8102e1be38f3254 (patch) | |
| tree | 380cb6e552fcd3435cfa7ea48fcacfcd02ed32f1 /tools/lib/python | |
| parent | b67c030f4f6589c574d98de4f3c4ea3efee9b2be (diff) | |
KVM: selftests: hyperv_tlb_flush: replace NOP loop with udelay()
Replace the open-coded NOP loop with udelay() which was added to KVM
selftests in commit 6b878cbb87bf ("KVM: selftests: Add guest udelay()
utility for x86"). The NOP loop is CPU speed dependent while udelay()
provides a deterministic delay regardless of host CPU frequency.
Signed-off-by: Piotr Zarycki <piotr.zarycki@gmail.com>
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Link: https://patch.msgid.link/20260422130307.1171808-1-piotr.zarycki@gmail.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
