Re: [PATCH v14 039/138] mm/memcg: Convert commit_charge() to take a folio

From: Vlastimil Babka
Date: Wed Aug 11 2021 - 06:44:13 EST


On 7/15/21 5:35 AM, Matthew Wilcox (Oracle) wrote:
> The memcg_data is only set on the head page, so enforce that by
> typing it as a folio.
>
> Signed-off-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>
> Reviewed-by: Christoph Hellwig <hch@xxxxxx>
> Acked-by: Michal Hocko <mhocko@xxxxxxxx>


Acked-by: Vlastimil Babka <vbabka@xxxxxxx>