Re: [PATCH v1] mm: migration: fix the FOLL_GET failure on following huge page

From: Andrew Morton
Date: Sat Aug 13 2022 - 19:28:48 EST


On Fri, 12 Aug 2022 16:49:21 +0800 Haiyue Wang <haiyue.wang@xxxxxxxxx> wrote:

> Not all huge page APIs support FOLL_GET option, so the __NR_move_pages
> will fail to get the page node information for huge page.

Which ones need fixing?

What are the user-visible runtime effects of this bug?

Is a -stable backport warranted?

> This is an temporary solution to mitigate the racing fix.
>
> After supporting follow huge page by FOLL_GET is done, this fix can be
> reverted safely.
>