Re: [PATCH v10 25/33] mm/filemap: Add folio_end_writeback
From: Vlastimil Babka
Date: Tue May 18 2021 - 07:08:33 EST
On 5/11/21 11:47 PM, Matthew Wilcox (Oracle) wrote:
> Add an end_page_writeback() wrapper function for users that are not yet
> converted to folios.
>
> folio_end_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>
> Reviewed-by: Christoph Hellwig <hch@xxxxxx>
> Acked-by: Jeff Layton <jlayton@xxxxxxxxxx>
Acked-by: Vlastimil Babka <vbabka@xxxxxxx>