Re: [PATCH v6 22/27] mm/filemap: Add end_folio_writeback

From: Christoph Hellwig
Date: Tue Apr 06 2021 - 10:14:41 EST


On Wed, Mar 31, 2021 at 07:47:23PM +0100, Matthew Wilcox (Oracle) wrote:
> Add an end_page_writeback() wrapper function for users that are not yet
> converted to folios.
>
> end_folio_writeback() is less than half the size of end_page_writeback()
> at just 105 bytes compared to 213 bytes, due to removing all the
> compound_head() calls. The 30 byte wrapper function makes this a net
> saving of 70 bytes.
>
> Signed-off-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>

Looks good,

Reviewed-by: Christoph Hellwig <hch@xxxxxx>