[GIT PULL] Three small folio patches

From: Matthew Wilcox
Date: Fri Jan 21 2022 - 14:50:46 EST



The following changes since commit 455e73a07f6e288b0061dfcf4fcf54fa9fe06458:

Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux (2022-01-12 17:02:27 -0800)

are available in the Git repository at:

git://git.infradead.org/users/willy/pagecache.git tags/folio-5.17a

for you to fetch changes up to 3abb28e275bfbe60136db37eae6679c3e1928cd5:

filemap: Use folio_put_refs() in filemap_free_folio() (2022-01-16 19:52:13 -0500)

----------------------------------------------------------------
Three small folio patches.

One bug fix, one patch pulled forward from the patches destined for 5.18
and then a patch to make use of that functionality.

----------------------------------------------------------------
Matthew Wilcox (Oracle) (3):
pagevec: Initialise folio_batch->percpu_pvec_drained
mm: Add folio_put_refs()
filemap: Use folio_put_refs() in filemap_free_folio()

include/linux/mm.h | 20 ++++++++++++++++++++
include/linux/pagevec.h | 1 +
mm/filemap.c | 10 ++++------
3 files changed, 25 insertions(+), 6 deletions(-)