Re: [PATCH 05/16] mm/migration: fix the confusing PageTransHuge check
From: Muchun Song
Date: Fri Mar 04 2022 - 07:21:39 EST
On Fri, Mar 4, 2022 at 5:35 PM Miaohe Lin <linmiaohe@xxxxxxxxxx> 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 <linmiaohe@xxxxxxxxxx>
At least I agree with you.
Reviewed-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>