[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b074426bb17af70b9db98e7de7023180822a8c40.camel@surriel.com>
Date: Fri, 05 Jan 2024 14:00:58 -0500
From: Rik van Riel <riel@...riel.com>
To: Andrew Morton <akpm@...ux-foundation.org>, Breno Leitao
<leitao@...ian.org>
Cc: linux-mm@...ck.org, vegard.nossum@...cle.com, rppt@...nel.org,
songmuchun@...edance.com, shy828301@...il.com,
linux-kselftest@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 0/1] selftest/mm/hugetlb: SIGBUS on stolen page
On Fri, 2024-01-05 at 08:42 -0800, Andrew Morton wrote:
> On Fri, 5 Jan 2024 07:54:18 -0800 Breno Leitao <leitao@...ian.org>
> 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?
>
I've got some ideas on how to fix it, and hope to get
a fix to you and Mike by next week.
I'll ask Mike if I run into any unexpected complications.
--
All Rights Reversed.
Powered by blists - more mailing lists