Re: [PATCH v4] mm, hugetlb: Fix simple resv_huge_pages underflow on UFFDIO_COPY

From: Mike Kravetz
Date: Tue Jun 01 2021 - 12:59:19 EST


On 5/31/21 7:49 PM, Mina Almasry wrote:
> On Mon, May 31, 2021 at 5:37 PM Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
>> On Thu, 27 May 2021 17:46:49 -0700 Mina Almasry <almasrymina@xxxxxxxxxx> wrote:
>>
>>
>> Do we have a Fixes: for this, or is it an always-been-there issue?
>
> This reproduces as far back as 4.15 kernel. Looks like always-been-there issue.
>

Specifically,

Fixes: 8fb5debc5fcd ("userfaultfd: hugetlbfs: add hugetlb_mcopy_atomic_pte for userfaultfd support")

--
Mike Kravetz