Skip to content

Skip mm selftests instead when kernel features are not present

Zi Yan linux-kselftest linux-mm lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew 1 of 2 applied
  2. v12 patches 7 repliesSuperseded

Patches in v2 1 of 2 applied

#Subject and filesSizeRepliesApplied
1/2selftests/mm: skip guard_regions.uffd tests when uffd is not present.tools/testing/selftests/mm/guard-regions.c+15 -20 replies
2/2selftests/mm: skip hugevm test if kernel config file is not present.tools/testing/selftests/mm/va_high_addr_switch.sh+9 -170 repliesApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchLorenzo StoakesPedro Falcato
1/2R-b R-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] Skip mm selftests instead when kernel features are not present

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(-)
Signature · 1 line
2.47.2