2022-03-04 16:16:17

by Muchun Song

[permalink] [raw]
Subject: Re: [PATCH 05/16] mm/migration: fix the confusing PageTransHuge check

On Fri, Mar 4, 2022 at 5:35 PM Miaohe Lin <[email protected]> wrote:
>
> prep_transhuge_page should be called when PageTransHuge(page) is true.
> The newly allocated new_page is not yet PageTransHuge though it could
> pass the check as PageTransHuge only checks PageHead now.
>
> Signed-off-by: Miaohe Lin <[email protected]>

At least I agree with you.

Reviewed-by: Muchun Song <[email protected]>