Re: [PATCH v14 042/138] mm/memcg: Convert mem_cgroup_uncharge() to take a folio

From: Mike Rapoport
Date: Wed Jul 21 2021 - 05:57:08 EST


On Thu, Jul 15, 2021 at 04:35:28AM +0100, Matthew Wilcox (Oracle) wrote:
> Convert all the callers to call page_folio(). Most of them were already
> using a head page, but a few of them I can't prove were, so this may
> actually fix a bug.
>
> Signed-off-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>
> Reviewed-by: Christoph Hellwig <hch@xxxxxx>
> ---
> include/linux/memcontrol.h | 4 ++--
> mm/filemap.c | 2 +-
> mm/khugepaged.c | 4 ++--
> mm/memcontrol.c | 14 +++++++-------
> mm/memory-failure.c | 2 +-
> mm/memremap.c | 2 +-
> mm/page_alloc.c | 2 +-
> mm/swap.c | 2 +-
> 8 files changed, 16 insertions(+), 16 deletions(-)

Acked-by: Mike Rapoport <rppt@xxxxxxxxxxxxx>