]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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>
Sat, 14 Aug 2021 01:35:48 +0000 (21:35 -0400)
commit3448801ba7babb6a446b6f3b665867f2b040bd04
tree24dcc05e1e37d74a3f86f46172696ac8b49bbc47
parent8f64e217a8f22a614420e618cc4c6aa1a455fbfb
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