Re: [PATCH v2] hugetlb: Fix comments about avoiding atomic allocation of vmemmap pages

From: Muchun Song
Date: Wed Mar 16 2022 - 04:50:45 EST


On Wed, Mar 16, 2022 at 11:16 AM luofei <luofei@xxxxxxxxxxxx> wrote:
>
> Since there is no longer an atomic allocation of vmemmap pages,
> but a fixed flag(GFP_KERNEL | __GFP_NORETRY | __GFP_THISNODE) is
> used. The description of atomicity here is some what inappropriate.
>
> And the atomic parameter naming of update_and_free_page() may
> be misleading, add a comment here.
>
> Signed-off-by: luofei <luofei@xxxxxxxxxxxx>

Reviewed-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>

Thanks.