mm/swap: convert __page_cache_release() to use a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 17 Jun 2022 17:50:16 +0000 (18:50 +0100)
committerakpm <akpm@linux-foundation.org>
Mon, 4 Jul 2022 01:08:48 +0000 (18:08 -0700)
commit188e8caee968def9fb67c7536c270b5b463c3461
treecaf03ec1a05f30cfa6bb785b3f0dd28e6dc038c3
parent5ef82fe7f6bca2827c3d1457e9ecd6219da29ede
mm/swap: convert __page_cache_release() to use a folio

All the callers now have a folio.  Saves several calls to compound_head,
totalling 502 bytes of text.

Link: https://lkml.kernel.org/r/20220617175020.717127-19-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/swap.c