selftests/mm: smoke test UFFD_FEATURE_WP_UNPOPULATED
authorPeter Xu <peterx@redhat.com>
Thu, 9 Mar 2023 22:37:11 +0000 (17:37 -0500)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 6 Apr 2023 02:42:44 +0000 (19:42 -0700)
commit47fba2b6d5bae89df5b1434bfdad4a56c7e88059
tree1325535ad4cc78b1f27e266297982761ef70d46c
parent2bad466cc9d9b4c3b4b16eb9c03c919b59561316
selftests/mm: smoke test UFFD_FEATURE_WP_UNPOPULATED

Enable it by default on the stress test, and add some smoke tests for the
pte markers on anonymous.

Link: https://lkml.kernel.org/r/20230309223711.823547-3-peterx@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Axel Rasmussen <axelrasmussen@google.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Muhammad Usama Anjum <usama.anjum@collabora.com>
Cc: Nadav Amit <nadav.amit@gmail.com>
Cc: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/testing/selftests/mm/userfaultfd.c