OSDN Git Service

KVM: selftests: Add demand paging content to the demand paging test
authorBen Gardon <bgardon@google.com>
Thu, 20 Feb 2020 17:09:12 +0000 (18:09 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 16 Mar 2020 16:56:48 +0000 (17:56 +0100)
commit4f72180eb4da9ce0bad2f284e81875bb15ecfbb7
tree8e376498fe8a6a2e8c061e4e4bd5cfc912fc5134
parent025eed7b3519be30cc2310711137ab4ff827fbe3
KVM: selftests: Add demand paging content to the demand paging test

The demand paging test is currently a simple page access test which, while
potentially useful, doesn't add much versus the existing dirty logging
test. To improve the demand paging test, add a basic userfaultfd demand
paging implementation.

Signed-off-by: Ben Gardon <bgardon@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/arch/x86/include/asm/unistd_64.h
tools/testing/selftests/kvm/demand_paging_test.c