Re: [PATCH v3 1/3] selftests/mm: add memory failure anonymous page test

From: Mark Brown

Date: Wed Feb 04 2026 - 06:30:45 EST


On Wed, Feb 04, 2026 at 03:33:29PM +0800, Miaohe Lin wrote:

> +TEST_HARNESS_MAIN
> diff --git a/tools/testing/selftests/mm/run_vmtests.sh b/tools/testing/selftests/mm/run_vmtests.sh
> index 29be9038bfb0..afdcfd0d7cef 100755
> --- a/tools/testing/selftests/mm/run_vmtests.sh
> +++ b/tools/testing/selftests/mm/run_vmtests.sh
> @@ -91,6 +91,8 @@ separated by spaces:
> test VMA merge cases behave as expected
> - rmap
> test rmap behaves as expected
> +- memory-failure
> + test memory-failure behaves as expected

In -next I added a hack with wrapper scripts per category to improve the
integration of the mm selftests with the kselftest framework, could you
please wire things up into that, see:

6ce964c02f1c (selftests/mm: have the harness run each test category separately)

for details. It's rather dumb and simple but gets the job done.

Attachment: signature.asc
Description: PGP signature