]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/mm: skip uffd-stress if userfaultfd not available
authorBrendan Jackman <jackmanb@google.com>
Tue, 11 Mar 2025 13:18:13 +0000 (13:18 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 17 Mar 2025 05:06:37 +0000 (22:06 -0700)
commit0046dbed80e67f57014bdfdcabd7a8ae5e73824a
tree9ebdf4dc7af5e90005ded4eeeb6f6c4be1f4c4aa
parent800ddf3cd74bda8061105cab7cc169b9a2667f44
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/20250311-mm-selftests-v4-2-dec210a658f5@google.com
Signed-off-by: Brendan Jackman <jackmanb@google.com>
Reviewed-by: Dev Jain <dev.jain@arm.com>
Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Cc: Mateusz Guzik <mjguzik@gmail.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/testing/selftests/mm/uffd-stress.c