]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit - mm/memcontrol.c
mm/memcg: Add folio_lruvec_lock() and similar functions
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 29 Jun 2021 01:59:47 +0000 (21:59 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 27 Sep 2021 13:27:31 +0000 (09:27 -0400)
commite809c3fedeeb806993349e7bf797b4c2b728be7d
treee1abf583f99412c68713bf80820d2041c402d270
parentb1baabd995ab8e830dbf647fe731b51e12b8cedd
mm/memcg: Add folio_lruvec_lock() and similar functions

These are the folio equivalents of lock_page_lruvec() and similar
functions.  Also convert lruvec_memcg_debug() to take a folio.

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
mm/compaction.c
mm/huge_memory.c
mm/memcontrol.c
mm/rmap.c
mm/swap.c
mm/vmscan.c