Re: [PATCH 1/6] mm/page_io: convert write completion handlers to folios
Matthew Wilcox <[email protected]>
| Newsgroups | gmane.linux.kernel,gmane.linux.kernel.mm |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Aug 07, 2026 at 12:49:49PM -0400, Johannes Weiner wrote: > On Thu, Aug 06, 2026 at 06:55:33PM -0400, Tal Zussman wrote: > > Convert swap_write_end() and swap_fs_write_complete() to operate on > > folios directly instead of going through the folio-compat page APIs. > > This removes calls to end_page_writeback() and set_page_dirty(), and the > > last caller of ClearPageReclaim(), saving two calls to compound_head() > > per folio on the write error path. > > > > Signed-off-by: Tal Zussman <[email protected]> > > Also the last end_page_writeback() user in mm/ :) Nice. And some uses of bv_page ;-) This is just good stuff all around. Reviewed-by: Matthew Wilcox (Oracle) <[email protected]>