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

From: David Howells
Date: Tue Aug 10 2021 - 16:19:01 EST

Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx> 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>

Reviewed-by: David Howells <dhowells@xxxxxxxxxx>