[PATCH 0/2] A small folio API enhancement for 5.17

From: Matthew Wilcox (Oracle)
Date: Thu Jan 13 2022 - 17:08:28 EST


It turns out I want to use folio_put_refs() in two completely different
places (which would likely be in separate pull requests) for 5.18, and
there's a useful place to use it in 5.17, so I'm planning on sending
Linus a pull request for this pair of patches next week. The reviews
on patch 1 come from the folio GUP reviews over the last week, but I
doubt I've shown patch 2 to anybody before.

Matthew Wilcox (Oracle) (2):
mm: Add folio_put_refs()
filemap: Use folio_put_refs() in filemap_free_folio()

include/linux/mm.h | 20 ++++++++++++++++++++
mm/filemap.c | 10 ++++------
2 files changed, 24 insertions(+), 6 deletions(-)

--
2.33.0