]> Gentwo Git Trees - linux/.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>
Sun, 23 Feb 2025 06:25:58 +0000 (22:25 -0800)
commit1c5fdbaf3eecef4bae25cc5512ec2ee868286442
treed631ae4fbb308d92cae4a834186d7c02a844baa6
parent34ef443ce4d429814fe09daf8a15817659ffc832
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