Peter Xu 0210c43ef6 selftests/mm: let uffd_handle_page_fault() take wp parameter
Make the handler optionally apply WP bit when resolving page faults for
either missing or minor page faults.  This moves towards removing global
test_uffdio_wp outside of the common code.

Link: https://lkml.kernel.org/r/20230412164341.328618-1-peterx@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
Cc: Axel Rasmussen <axelrasmussen@google.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Dmitry Safonov <0x7f454c46@gmail.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Mike Rapoport (IBM) <rppt@kernel.org>
Cc: Zach O'Keefe <zokeefe@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2023-04-18 16:30:06 -07:00
..
2023-03-10 08:18:46 -08:00
2023-02-03 13:54:22 -03:00
2023-01-21 17:52:26 +00:00
2023-03-10 10:19:25 -08:00
2023-03-02 09:45:34 -08:00
2023-03-10 08:18:46 -08:00
2023-03-17 11:02:26 -07:00
2023-02-23 10:20:49 -08:00
2023-04-18 14:22:12 -07:00