]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/memcg: Convert commit_charge() to take a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 29 Apr 2021 18:07:12 +0000 (14:07 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 13 Aug 2021 23:40:42 +0000 (19:40 -0400)
commit9ce5a545a7d97da81d0c2c52fb8b66f9c3571d5f
tree5b5378d9f49a9f3c42d67123257171e26f5d2e5e
parent91c755d723c54ad604a3fc3debd776cdb9db27af
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>
mm/memcontrol.c