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

From: David Howells
Date: Tue Aug 10 2021 - 16:21:42 EST


Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx> wrote:

> Convert all callers of mem_cgroup_charge() to call page_folio() on the
> page they're currently passing in. Many of them will be converted to
> use folios themselves soon.
>
> Signed-off-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>
> Reviewed-by: Christoph Hellwig <hch@xxxxxx>

Reviewed-by: David Howells <dhowells@xxxxxxxxxx>