]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/memcg: Convert mem_cgroup_charge() to take a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 25 Jun 2021 13:27:04 +0000 (09:27 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 13 Aug 2021 23:41:12 +0000 (19:41 -0400)
commit5b41533c9e51e4f441f4eba692854515ea84fc6f
treea2b11de1a1c25a6dd248b780fb7ab5a5ed98ef2b
parent9ce5a545a7d97da81d0c2c52fb8b66f9c3571d5f
mm/memcg: Convert mem_cgroup_charge() to take a folio

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@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Howells <dhowells@redhat.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
include/linux/memcontrol.h
kernel/events/uprobes.c
mm/filemap.c
mm/huge_memory.c
mm/khugepaged.c
mm/ksm.c
mm/memcontrol.c
mm/memory.c
mm/migrate.c
mm/shmem.c
mm/userfaultfd.c