mbox series

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

Message ID 20220113220816.1257657-1-willy@infradead.org (mailing list archive)
Headers show
Series A small folio API enhancement for 5.17 | expand

Message

Matthew Wilcox Jan. 13, 2022, 10:08 p.m. UTC
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(-)