diff options
author | 2017-09-06 16:23:16 -0700 | |
---|---|---|
committer | 2017-09-06 17:27:28 -0700 | |
commit | 824f973904a1108806fa0fbe15dc93ee9ecd9e0a (patch) | |
tree | dc9167f98d684cce7a2183e6da217e3cbe659852 | |
parent | userfaultfd: report UFFDIO_ZEROPAGE as available for shmem VMAs (diff) | |
download | linux-824f973904a1108806fa0fbe15dc93ee9ecd9e0a.tar.gz linux-824f973904a1108806fa0fbe15dc93ee9ecd9e0a.tar.bz2 linux-824f973904a1108806fa0fbe15dc93ee9ecd9e0a.zip |
userfaultfd: selftest: enable testing of UFFDIO_ZEROPAGE for shmem
Link: http://lkml.kernel.org/r/1497939652-16528-8-git-send-email-rppt@linux.vnet.ibm.com
Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Hillf Danton <hillf.zj@alibaba-inc.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Pavel Emelyanov <xemul@virtuozzo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | tools/testing/selftests/vm/userfaultfd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/vm/userfaultfd.c b/tools/testing/selftests/vm/userfaultfd.c index 1eae79ae5b4e..b0c9263f5df7 100644 --- a/tools/testing/selftests/vm/userfaultfd.c +++ b/tools/testing/selftests/vm/userfaultfd.c @@ -198,7 +198,7 @@ static struct uffd_test_ops anon_uffd_test_ops = { }; static struct uffd_test_ops shmem_uffd_test_ops = { - .expected_ioctls = UFFD_API_RANGE_IOCTLS_BASIC, + .expected_ioctls = ANON_EXPECTED_IOCTLS, .allocate_area = shmem_allocate_area, .release_pages = shmem_release_pages, }; |