mm/memcg: Convert commit_charge() to take a folio
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> Acked-by:
Vlastimil Babka <vbabka@suse.cz>
Showing
Please register or sign in to comment