Re: [PATCH v2 13/46] mm/memcg: Convert commit_charge() to take a folio

From: Christoph Hellwig
Date: Wed Jun 23 2021 - 04:14:29 EST


On Tue, Jun 22, 2021 at 01:15:18PM +0100, 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>

Looks good,

Reviewed-by: Christoph Hellwig <hch@xxxxxx>