Skip to content

selftests/mm fixes for arm64

Ryan Roberts linux-kselftest linux-mm lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest8 patches 5 repliesIn review 7 of 8 applied
  2. v28 patches 13 repliesSuperseded
  3. v19 patches 30 repliesSuperseded 1 of 9 applied

Patches in v3 7 of 8 applied

#Subject and filesSizeRepliesApplied
1/8selftests: Line buffer test program's stdouttools/testing/selftests/kselftest.h tools/testing/selftests/kselftest/runner.sh+14 -20 replies
2/8selftests/mm: Skip soft-dirty tests on arm64tools/testing/selftests/mm/Makefile tools/testing/selftests/mm/madv_populate.c tools/testing/selftests/mm/run_vmtests.sh+32 -40 repliesApplied
3/8selftests/mm: Enable mrelease_test for arm64tools/testing/selftests/mm/mrelease_test.c+1 -00 repliesApplied
4/8selftests/mm: Fix thuge-gen test bugstools/testing/selftests/mm/thuge-gen.c+2 -20 repliesApplied
5/8selftests/mm: va_high_addr_switch should skip unsupported arm64 configstools/testing/selftests/mm/va_high_addr_switch.c+1 -10 repliesApplied
6/8selftests/mm: Make migration test robust to failuretools/testing/selftests/mm/migration.c tools/testing/selftests/mm/settings+10 -41 replyApplied
7/8selftests/mm: Optionally pass duration to transhuge-stresstools/testing/selftests/mm/transhuge-stress.c+10 -20 repliesApplied
8/8selftests/mm: Run all tests from run_vmtests.shtools/testing/selftests/mm/Makefile tools/testing/selftests/mm/run_vmtests.sh tools/testing/selftests/mm/settings+64 -400 repliesApplied

Reviews trailers per patch

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

PatchMark BrownDavid HildenbrandPeter Xu
1/8R-b
2/8A-b
3/8R-b
4/8R-b
5/8R-b
6/8R-b
7/8A-b
8/8A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/8] selftests/mm fixes for arm64

Hi All,

This is v3 of my series to clean up mm selftests so that they run correctly on arm64. See [1] for full explanation.

Only patch 6 has changed vs v2. The rest are the same and already carry reviewed/acked-bys. So I'm hoping I can get the final patch reviewed and this series is hopefully then good enough to merge?

Changes Since v2 [2]
--------------------

- Patch 6: Change approach to cleaning up child processes; Use "parent death signal", as suggested by David.
- Added Reviewed-by/Acked-by tags: thanks to David, Mark and Peter!

Changes Since v1 [1]
--------------------

- Patch 1: Explicitly set line buffer mode in ksft_print_header()
- Dropped v1 patch 2 (set execute permissions): Andrew has taken this into his branch separately.
- Patch 2: Don't compile soft-dirty suite for arm64 instead of skipping it at runtime.
- Patch 2: Declare fewer tests and skip all of test_softdirty() if soft-dirty is not supported, rather than conditionally marking each check as skipped.
- Added Reviewed-by tags: thanks DavidH!
- Patch 8: Clarified commit message.

[1] https://lore.kernel.org/linux-mm/[email protected]/
[2] https://lore.kernel.org/linux-mm/[email protected]/

Thanks,
Ryan

Ryan Roberts (8):
selftests: Line buffer test program's stdout selftests/mm: Skip soft-dirty tests on arm64 selftests/mm: Enable mrelease_test for arm64 selftests/mm: Fix thuge-gen test bugs
selftests/mm: va_high_addr_switch should skip unsupported arm64
configs
selftests/mm: Make migration test robust to failure selftests/mm: Optionally pass duration to transhuge-stress selftests/mm: Run all tests from run_vmtests.sh

 tools/testing/selftests/kselftest.h           |  9 ++
 tools/testing/selftests/kselftest/runner.sh   |  7 +-
 tools/testing/selftests/mm/Makefile           | 82 ++++++++++---------
 tools/testing/selftests/mm/madv_populate.c    | 26 +++++-
 tools/testing/selftests/mm/migration.c        | 12 ++-
 tools/testing/selftests/mm/mrelease_test.c    |  1 +
 tools/testing/selftests/mm/run_vmtests.sh     | 28 ++++++-
 tools/testing/selftests/mm/settings           |  2 +-
 tools/testing/selftests/mm/thuge-gen.c        |  4 +-
 tools/testing/selftests/mm/transhuge-stress.c | 12 ++-
 .../selftests/mm/va_high_addr_switch.c        |  2 +-
 11 files changed, 132 insertions(+), 53 deletions(-)

--
2.25.1