]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/memcg: Convert mem_cgroup_uncharge() to take a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Sun, 2 May 2021 00:42:23 +0000 (20:42 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Sat, 14 Aug 2021 01:34:59 +0000 (21:34 -0400)
commitd94b6e92b882221e8c590a33cd25a13219e04d7a
treee23c5fbf24d4016b0f1fc6f415cb73e61ef85fd5
parentde0fa3d68e453fb7bac2c2347d3bdf6e8c86e231
mm/memcg: Convert mem_cgroup_uncharge() to take a folio

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>
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/khugepaged.c
mm/memcontrol.c
mm/memory-failure.c
mm/memremap.c
mm/page_alloc.c
mm/swap.c