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

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


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@xxxxxxxxxxxxx>

Looks good,

Reviewed-by: Christoph Hellwig <hch@xxxxxx>