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

It's pretty obvious that the test wouldn't work if you don't have the
feature enabled.  But, it's still useful to SKIP instead of failing so the
reader can immediately tell that this is the reason why.

Link: https://lkml.kernel.org/r/20250221-mm-selftests-v2-3-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-stress.c