linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] selftests/mm: Some cleanups from trying to run them
@ 2025-02-20 15:03 Brendan Jackman
  2025-02-20 15:03 ` [PATCH 1/6] selftests/mm: Report errno when things fail Brendan Jackman
                   ` (5 more replies)
  0 siblings, 6 replies; 14+ messages in thread
From: Brendan Jackman @ 2025-02-20 15:03 UTC (permalink / raw)
  To: Lorenzo Stoakes, Andrew Morton, Shuah Khan
  Cc: Mateusz Guzik, linux-mm, linux-kselftest, linux-kernel, Brendan Jackman

I never had much luck running mm selftests so I spent a couple of hours
digging into why.

Looks like most of the reason is missing SKIP checks, so this series is
just adding a bunch of those that I found. I did not do anything like
all of them, just the ones I spotted in gup_test, mmap, userfaultfd and
memfd_secret.

Signed-off-by: Brendan Jackman <jackmanb@google.com>
---
Brendan Jackman (6):
      selftests/mm: Report errno when things fail
      selftests/mm: Fix assumption that sudo is present
      selftests/mm: Skip uffd-stress if userfaultfd not available
      selftests/mm: Skip uffd-wp-mremap if userfaultfd not available
      selftests/mm: Print some details when uffd-stress gets bad params
      selftests/mm: Don't fail uffd-stress if too many CPUs

 tools/testing/selftests/mm/gup_longterm.c   | 32 ++++++++++++++---------------
 tools/testing/selftests/mm/run_vmtests.sh   | 22 ++++++++++++++++----
 tools/testing/selftests/mm/uffd-stress.c    | 11 +++++++---
 tools/testing/selftests/mm/uffd-wp-mremap.c |  5 ++++-
 4 files changed, 46 insertions(+), 24 deletions(-)
---
base-commit: 87a132e73910e8689902aed7f2fc229d6908383b
change-id: 20250220-mm-selftests-2d7d0542face

Best regards,
-- 
Brendan Jackman <jackmanb@google.com>



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2025-02-20 18:18 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-20 15:03 [PATCH 0/6] selftests/mm: Some cleanups from trying to run them Brendan Jackman
2025-02-20 15:03 ` [PATCH 1/6] selftests/mm: Report errno when things fail Brendan Jackman
2025-02-20 15:32   ` Dev Jain
2025-02-20 15:03 ` [PATCH 2/6] selftests/mm: Fix assumption that sudo is present Brendan Jackman
2025-02-20 15:03 ` [PATCH 3/6] selftests/mm: Skip uffd-stress if userfaultfd not available Brendan Jackman
2025-02-20 18:06   ` Dev Jain
2025-02-20 18:17     ` Brendan Jackman
2025-02-20 15:03 ` [PATCH 4/6] selftests/mm: Skip uffd-wp-mremap " Brendan Jackman
2025-02-20 15:03 ` [PATCH 5/6] selftests/mm: Print some details when uffd-stress gets bad params Brendan Jackman
2025-02-20 15:17   ` Brendan Jackman
2025-02-20 15:03 ` [PATCH 6/6] selftests/mm: Don't fail uffd-stress if too many CPUs Brendan Jackman
2025-02-20 15:48   ` Dev Jain
2025-02-20 15:55     ` Brendan Jackman
2025-02-20 16:01       ` Brendan Jackman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox