]> www.infradead.org Git - users/willy/pagecache.git/commit
mm/mlock: Convert __putback_lru_fast_prepare to take a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 17 Dec 2020 15:23:36 +0000 (10:23 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 28 Sep 2021 16:45:40 +0000 (12:45 -0400)
commitdf5f333bc0a0610eab24a948e90fad278c882a07
tree3ed35eff0dc6ab9921175ba96857d43d8d75c780
parentf9d6c6be385ec9889dd8f9a1f01eab34df4eb03d
mm/mlock: Convert __putback_lru_fast_prepare to take a folio

The mlock code only uses the pagevecs for order-0 pages, so we can
skip all the compound_head tests by using folios.  Shrinks the
kernel by 81 bytes.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
mm/mlock.c