[PATCH v6 24/27] mm/writeback: Add wait_for_stable_folio

Christoph Hellwig hch at infradead.org
Tue Apr 6 15:18:25 BST 2021


On Wed, Mar 31, 2021 at 07:47:25PM +0100, Matthew Wilcox (Oracle) wrote:
> Move wait_for_stable_page() into the folio compatibility file.
> wait_for_stable_folio() avoids a call to compound_head() and is 14 bytes
> smaller than wait_for_stable_page() was.  The net text size grows by 24
> bytes as a result of this patch.
> 
> 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