Re: [PATCH v14 043/138] mm/memcg: Convert mem_cgroup_migrate() to take folios

Mike Rapoport
2021-07-21T09:59:24Z

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@infradead.org>
> Reviewed-by: Christoph Hellwig <hch@lst.de>
> ---
> 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@linux.ibm.com>