On Thu, Jul 15, 2021 at 04:35:29AM +0100, Matthew Wilcox (Oracle) wrote: > 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@xxxxxxxxxxxxx> > Reviewed-by: Christoph Hellwig <hch@xxxxxx> > --- > include/linux/memcontrol.h | 4 ++-- > mm/filemap.c | 4 +++- > mm/memcontrol.c | 35 +++++++++++++++++------------------ > mm/migrate.c | 4 +++- > mm/shmem.c | 5 ++++- > 5 files changed, 29 insertions(+), 23 deletions(-) Acked-by: Mike Rapoport <rppt@xxxxxxxxxxxxx>