Commit 824f9739 authored by Mike Rapoport's avatar Mike Rapoport Committed by Linus Torvalds

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.comSigned-off-by: default avatarMike 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: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent ce53e8e6
...@@ -198,7 +198,7 @@ static struct uffd_test_ops anon_uffd_test_ops = { ...@@ -198,7 +198,7 @@ static struct uffd_test_ops anon_uffd_test_ops = {
}; };
static struct uffd_test_ops shmem_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, .allocate_area = shmem_allocate_area,
.release_pages = shmem_release_pages, .release_pages = shmem_release_pages,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment