mm/lru: Convert __pagevec_lru_add_fn to take a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 14 May 2021 19:08:29 +0000 (15:08 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 18 Oct 2021 11:49:40 +0000 (07:49 -0400)
commit934387c99f1ce3c21b4f1fa67005dd95fbcee5e9
tree975fd9e49e76728350369f30412d7ba2fc54b010
parent3eed3ef55c83ec718fae676fd59699816223215f
mm/lru: Convert __pagevec_lru_add_fn to take a folio

This saves five calls to compound_head(), totalling 60 bytes of text.

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/trace/events/pagemap.h
mm/swap.c