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

Mike Rapoport
2021-07-21T09:57:09Z

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