]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit - include/linux/memcontrol.h
mm/memcg: Convert mem_cgroup_track_foreign_dirty_slowpath() to folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 4 May 2021 15:43:01 +0000 (11:43 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 27 Sep 2021 13:27:31 +0000 (09:27 -0400)
commit9d8053fc7a21ee2b3a540165d09418955258d9e8
treeee50b985cf4b819f1e6916724ff9db525e16a5ff
parentd21bba2b7d0ae19dd1279e10aee61c37a17aba74
mm/memcg: Convert mem_cgroup_track_foreign_dirty_slowpath() to folio

The page was only being used for the memcg and to gather trace
information, so this is a simple conversion.  The only caller of
mem_cgroup_track_foreign_dirty() will be converted to folios in a later
patch, so doing this now makes that patch simpler.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Howells <dhowells@redhat.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
include/linux/memcontrol.h
include/trace/events/writeback.h
mm/memcontrol.c