]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/mm: skip uffd-wp-mremap if userfaultfd not available
authorBrendan Jackman <jackmanb@google.com>
Fri, 21 Feb 2025 18:25:43 +0000 (18:25 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 4 Mar 2025 05:50:25 +0000 (21:50 -0800)
commite9c9ca682fb4a7892ddeca7a19096fb374692e56
tree7791e0327ec56ec7673552f60a3f0c8e15d4cd56
parent6d47e74e217501e9fd8b1a60a916bc44a2bb683a
selftests/mm: skip uffd-wp-mremap if userfaultfd not available

It's obvious that this should fail in that case, but still, save the
reader the effort of figuring out that they've run into this by just
SKIPping

Link: https://lkml.kernel.org/r/20250221-mm-selftests-v2-4-28c4d66383c5@google.com
Signed-off-by: Brendan Jackman <jackmanb@google.com>
Cc: Dev Jain <dev.jain@arm.com>
Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Cc: Mateusz Guzik <mjguzik@gmail.com>
Cc: Shuah Khan (Samsung OSG) <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/testing/selftests/mm/uffd-wp-mremap.c