linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] ITER_XARRAY cleanups and consequences
@ 2025-03-03 17:53 Matthew Wilcox (Oracle)
  2025-03-03 17:53 ` [PATCH 1/6] iov_iter: Convert iter_xarray_populate_pages() to use folios Matthew Wilcox (Oracle)
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Matthew Wilcox (Oracle) @ 2025-03-03 17:53 UTC (permalink / raw)
  To: David Howells; +Cc: Matthew Wilcox (Oracle), linux-mm, linux-fsdevel

iov_iter currently extracts pages from the xarray when only folios have
been stored there.  This needs to be fixed before we can separate struct
folio from struct page.  __readahead_batch() is in the same situation,
and converting all three of these places lets us remove find_subpage()
and thp_nr_pages().  Removing readahead_page_batch() isn't particularly
related to these changes, but it may as well go in with this batch.

Matthew Wilcox (Oracle) (6):
  iov_iter: Convert iter_xarray_populate_pages() to use folios
  iov_iter: Convert iov_iter_extract_xarray_pages() to use folios
  pagemap: Remove find_subpage()
  filemap: Convert __readahead_batch() to use a folio
  pagemap: Remove readahead_page_batch()
  mm: Delete thp_nr_pages()

 include/linux/mm.h      |  9 ---------
 include/linux/pagemap.h | 40 ++++++----------------------------------
 lib/iov_iter.c          | 30 +++++++++++++++---------------
 3 files changed, 21 insertions(+), 58 deletions(-)

-- 
2.47.2



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-03-03 18:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-03 17:53 [PATCH 0/6] ITER_XARRAY cleanups and consequences Matthew Wilcox (Oracle)
2025-03-03 17:53 ` [PATCH 1/6] iov_iter: Convert iter_xarray_populate_pages() to use folios Matthew Wilcox (Oracle)
2025-03-03 17:53 ` [PATCH 2/6] iov_iter: Convert iov_iter_extract_xarray_pages() " Matthew Wilcox (Oracle)
2025-03-03 17:53 ` [PATCH 3/6] pagemap: Remove find_subpage() Matthew Wilcox (Oracle)
2025-03-03 17:53 ` [PATCH 4/6] filemap: Convert __readahead_batch() to use a folio Matthew Wilcox (Oracle)
2025-03-03 17:53 ` [PATCH 5/6] pagemap: Remove readahead_page_batch() Matthew Wilcox (Oracle)
2025-03-03 17:53 ` [PATCH 6/6] mm: Delete thp_nr_pages() Matthew Wilcox (Oracle)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox