]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/memcg: Convert mem_cgroup_migrate() to take folios
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 6 May 2021 22:14:59 +0000 (18:14 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Sat, 14 Aug 2021 01:35:23 +0000 (21:35 -0400)
commit8f64e217a8f22a614420e618cc4c6aa1a455fbfb
treed0f690f8ffda5c26a6cc4863fe51d1a9c4bba3c0
parentd94b6e92b882221e8c590a33cd25a13219e04d7a
mm/memcg: Convert mem_cgroup_migrate() to take folios

Convert all callers of mem_cgroup_migrate() to call page_folio() first.
They all look like they're using head pages already, but this proves it.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Mike Rapoport <rppt@linux.ibm.com>
Reviewed-by: David Howells <dhowells@redhat.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
include/linux/memcontrol.h
mm/filemap.c
mm/memcontrol.c
mm/migrate.c
mm/shmem.c