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

David Howells
2021-08-10T20:19:01Z

Matthew Wilcox (Oracle) <willy@infradead.org> 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@infradead.org>
> Reviewed-by: Christoph Hellwig <hch@lst.de>
> Acked-by: Michal Hocko <mhocko@suse.com>

Reviewed-by: David Howells <dhowells@redhat.com>