linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Skip mm selftests instead when kernel features are not present
@ 2025-05-16 13:29 Zi Yan
  2025-05-16 13:29 ` [PATCH v2 1/2] selftests/mm: skip guard_regions.uffd tests when uffd is " Zi Yan
  2025-05-16 13:29 ` [PATCH v2 2/2] selftests/mm: skip hugevm test if kernel config file " Zi Yan
  0 siblings, 2 replies; 3+ messages in thread
From: Zi Yan @ 2025-05-16 13:29 UTC (permalink / raw)
  To: Pedro Falcato, Lorenzo Stoakes, Adam Sindelar, linux-mm
  Cc: Andrew Morton, linux-kselftest, linux-kernel, Zi Yan

Two guard_regions tests on userfaultfd fail when userfaultfd is not
present. Skip them instead.

hugevm test reads kernel config to get page table level information and
fails when neither /proc/config.gz nor /boot/config-* is present. Skip
it instead.

Zi Yan (2):
  selftests/mm: skip guard_regions.uffd tests when uffd is not present.
  selftests/mm: skip hugevm test if kernel config file is not present.

 tools/testing/selftests/mm/guard-regions.c    | 17 ++++++++++--
 .../selftests/mm/va_high_addr_switch.sh       | 26 +++++++------------
 2 files changed, 24 insertions(+), 19 deletions(-)

-- 
2.47.2



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

end of thread, other threads:[~2025-05-16 13:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-16 13:29 [PATCH v2 0/2] Skip mm selftests instead when kernel features are not present Zi Yan
2025-05-16 13:29 ` [PATCH v2 1/2] selftests/mm: skip guard_regions.uffd tests when uffd is " Zi Yan
2025-05-16 13:29 ` [PATCH v2 2/2] selftests/mm: skip hugevm test if kernel config file " Zi Yan

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