Re: [PATCH 0/1] selftest/mm/hugetlb: SIGBUS on stolen page

From: Andrew Morton
Date: Fri Jan 05 2024 - 11:42:47 EST


On Fri, 5 Jan 2024 07:54:18 -0800 Breno Leitao <leitao@xxxxxxxxxx> wrote:

> This test case triggers a race between madvise(MADV_DONTNEED) and
> mmap() in a single huge page, which got stolen (while reserved).
>
> Once the only page is stolen, the memory previously mmaped (and
> madvise(MADV_DONTNEED) got a SIGBUS when accessed.
>
> I am not adding this test to the un_vmtests.sh scripts, since this test
> fails at upstream.

Oh. Is a fix for this in the pipeline? If so, I assume that once the
fix is merged, we enable this test in run_vmtests?