linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/9] Convert several functions in page_io.c to use a folio
@ 2023-07-19  9:58 Peng Zhang
  2023-07-19  9:58 ` [PATCH v2 1/9] mm/page_io: remove unneeded ClearPageUptodate() Peng Zhang
                   ` (8 more replies)
  0 siblings, 9 replies; 15+ messages in thread
From: Peng Zhang @ 2023-07-19  9:58 UTC (permalink / raw)
  To: linux-mm, linux-kernel, willy
  Cc: sidhartha.kumar, akpm, wangkefeng.wang, sunnanyong, ZhangPeng

From: ZhangPeng <zhangpeng362@huawei.com>

This patch series converts several functions in page_io.c to use a
folio, which can remove several implicit calls to compound_head().

Changelog:

v2:
- remove unneeded ClearPageUptodate() and SetPageError(), suggested by
  Matthew Wilcox
- convert bio_first_page_all() to bio_first_folio_all(), suggested by
  Matthew Wilcox
- convert PageTransHuge to folio_test_pmd_mappable per Matthew Wilcox

ZhangPeng (9):
  mm/page_io: remove unneeded ClearPageUptodate()
  mm/page_io: remove unneeded SetPageError()
  mm/page_io: convert bio_first_page_all() to bio_first_folio_all()
  mm/page_io: use a folio in __end_swap_bio_read()
  mm/page_io: use a folio in sio_read_complete()
  mm/page_io: use a folio in swap_writepage_bdev_sync()
  mm/page_io: use a folio in swap_writepage_bdev_async()
  mm/page_io: convert count_swpout_vm_event() to take in a folio
  mm/page_io: convert bio_associate_blkg_from_page() to take in a folio

 Documentation/block/biovecs.rst  |  2 +-
 drivers/block/drbd/drbd_bitmap.c |  2 +-
 fs/f2fs/data.c                   |  2 +-
 include/linux/bio.h              |  4 +--
 kernel/power/swap.c              |  2 +-
 mm/page_io.c                     | 55 +++++++++++++++-----------------
 6 files changed, 32 insertions(+), 35 deletions(-)

-- 
2.25.1



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

end of thread, other threads:[~2023-07-20  9:31 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-19  9:58 [PATCH v2 0/9] Convert several functions in page_io.c to use a folio Peng Zhang
2023-07-19  9:58 ` [PATCH v2 1/9] mm/page_io: remove unneeded ClearPageUptodate() Peng Zhang
2023-07-19  9:58 ` [PATCH v2 2/9] mm/page_io: remove unneeded SetPageError() Peng Zhang
2023-07-19  9:58 ` [PATCH v2 3/9] mm/page_io: convert bio_first_page_all() to bio_first_folio_all() Peng Zhang
2023-07-19 14:17   ` Matthew Wilcox
2023-07-20  5:34     ` Christoph Hellwig
2023-07-20  9:31     ` zhangpeng (AS)
2023-07-19  9:58 ` [PATCH v2 4/9] mm/page_io: use a folio in __end_swap_bio_read() Peng Zhang
2023-07-19  9:58 ` [PATCH v2 5/9] mm/page_io: use a folio in sio_read_complete() Peng Zhang
2023-07-19  9:58 ` [PATCH v2 6/9] mm/page_io: use a folio in swap_writepage_bdev_sync() Peng Zhang
2023-07-19  9:58 ` [PATCH v2 7/9] mm/page_io: use a folio in swap_writepage_bdev_async() Peng Zhang
2023-07-19  9:58 ` [PATCH v2 8/9] mm/page_io: convert count_swpout_vm_event() to take in a folio Peng Zhang
2023-07-19 14:24   ` Matthew Wilcox
2023-07-20  9:31     ` zhangpeng (AS)
2023-07-19  9:58 ` [PATCH v2 9/9] mm/page_io: convert bio_associate_blkg_from_page() " Peng Zhang

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