OSDN Git Service

KVM: selftests: Create a demand paging test
authorBen Gardon <bgardon@google.com>
Thu, 23 Jan 2020 18:04:27 +0000 (10:04 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 24 Feb 2020 19:05:24 +0000 (20:05 +0100)
commit025eed7b3519be30cc2310711137ab4ff827fbe3
tree0faa63f2a211079631f131106587342cfd95b0d1
parent87a802d93e7ef55216d8884fdf7e5f491a6fe501
KVM: selftests: Create a demand paging test

While userfaultfd, KVM's demand paging implementation, is not specific
to KVM, having a benchmark for its performance will be useful for
guiding performance improvements to KVM. As a first step towards creating
a userfaultfd demand paging test, create a simple memory access test,
based on dirty_log_test.

Reviewed-by: Oliver Upton <oupton@google.com>
Signed-off-by: Ben Gardon <bgardon@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/.gitignore
tools/testing/selftests/kvm/Makefile
tools/testing/selftests/kvm/demand_paging_test.c [new file with mode: 0644]