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

Christoph Hellwig hch at infradead.org
Tue Apr 6 15:13:26 BST 2021


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 at infradead.org>

Looks good,

Reviewed-by: Christoph Hellwig <hch at lst.de>



More information about the linux-afs mailing list