aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorBibo Mao <maobibo@loongson.cn>2023-07-31 10:24:05 +0800
committerSean Christopherson <seanjc@google.com>2023-08-02 13:36:08 -0700
commitb859b018aadfd05f0526533fd1bcf04024d01917 (patch)
tree15f7d59a5dda43f79baa273573e93e0e5e38aaec /scripts/bpf_doc.py
parentKVM: selftests: Extend x86's sync_regs_test to check for exception races (diff)
downloadlinux-rng-b859b018aadfd05f0526533fd1bcf04024d01917.tar.xz
linux-rng-b859b018aadfd05f0526533fd1bcf04024d01917.zip
KVM: selftests: use unified time type for comparison
With test case kvm_page_table_test, start time is acquired with time type CLOCK_MONOTONIC_RAW, however end time in timespec_elapsed() is acquired with time type CLOCK_MONOTONIC. This can cause inaccurate elapsed time calculation due to mixing timebases, e.g. LoongArch in particular will see weirdness. Modify kvm_page_table_test to use unified time type CLOCK_MONOTONIC for start time. Signed-off-by: Bibo Mao <maobibo@loongson.cn> Reviewed-by: Oliver Upton <oliver.upton@linux.dev> Link: https://lore.kernel.org/r/20230731022405.854884-1-maobibo@loongson.cn [sean: massage changelog] Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions