Re: [PATCH v2 2/2] selftests/mm: Add a new test for madv and hugetlb

From: Rik van Riel
Date: Thu Oct 05 2023 - 23:55:53 EST


On Thu, 2023-10-05 at 09:39 -0700, Breno Leitao wrote:
> Create a selftest that exercises the race between page faults and
> madvise(MADV_DONTNEED) in the same huge page. Do it by running two
> threads that touches the huge page and madvise(MADV_DONTNEED) at the
> same
> time.
>

>   ----------------------------------
>   ./run_vmtests.sh: line 186: 595563 Bus error    (core dumped) "$@"
>   [FAIL]
>
> This selftest goes together with the fix of the bug[1] itself.
>
> [1]
> https://lore.kernel.org/all/20231001005659.2185316-1-riel@xxxxxxxxxxx/#r
>
> Signed-off-by: Breno Leitao <leitao@xxxxxxxxxx>
Tested-and-reviewed-by: Rik van Riel <riel@xxxxxxxxxxx>

--
All Rights Reversed.