]> 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>
Fri, 28 Feb 2025 01:00:26 +0000 (17:00 -0800)
commitbab2c574be695415861dadb6738d46c6d1f793f8
treeefea929697a0dcc5d7a7d345bd20414514cf640d
parentef5a5b91dbda9841c5a4b8c6b4304894b589e67d
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