Re: [PATCH 1/6] mm/page_io: convert write completion handlers to folios
From: Matthew Wilcox
Date: Fri Aug 07 2026 - 18:07:12 EST
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 <tz2294@xxxxxxxxxxxx>
>
> 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) <willy@xxxxxxxxxxxxx>