Re: [PATCH v3 13/16] mm/huge_memory: fix comment of page_deferred_list

From: Muchun Song
Date: Mon Jul 04 2022 - 09:55:45 EST


On Mon, Jul 04, 2022 at 09:21:58PM +0800, Miaohe Lin wrote:
> The current comment is confusing because if global or memcg deferred list
> in the second tail page is occupied by compound_head, why we still use
> page[2].deferred_list here? I think it wants to say that Global or memcg
> deferred list in the first tail page is occupied by compound_mapcount and
> compound_pincount so we use the second tail page's deferred_list instead.
>
> Signed-off-by: Miaohe Lin <linmiaohe@xxxxxxxxxx>

Reviewed-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>

Thanks.