# Re: \[PATCH v14 039/138\] mm/memcg: Convert commit\_charge() to take a folio

- From: Vlastimil Babka \<hidden\>
- Date: 2021-08-11 10:44:12 
- List: linux-mm
- Page: https://ratatoskr.run/linux-mm/2021/08/212089
- Thread: https://ratatoskr.run/linux-mm/2021/07/209943/t/5.md

```text
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@infradead.org>
> Reviewed-by: Christoph Hellwig <hch@lst.de>
> Acked-by: Michal Hocko <mhocko@suse.com>


Acked-by: Vlastimil Babka <redacted>


```
