]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/workingset: Convert workingset_refault() to take a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 29 Apr 2021 14:27:16 +0000 (10:27 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Sun, 15 Aug 2021 20:36:22 +0000 (16:36 -0400)
commitd2ffc9859cc468a70e0f068c39557165899b986a
tree630996ad32659768ca214eb0cfcfe1fd503c6b5c
parentf4f991224133199a9cc83b7f0f1939ff6ef86e62
mm/workingset: Convert workingset_refault() to take a folio

This nets us 178 bytes of savings from removing calls to compound_head.
The three callers all grow a little, but each of them will be converted
to use folios soon, so that's fine.

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/swap.h
include/linux/vmstat.h
mm/filemap.c
mm/memory.c
mm/swap.c
mm/swap_state.c
mm/workingset.c