Re: [PATCH v11 27/33] mm/writeback: Add folio_wait_stable()

From: David Howells
Date: Wed Jun 16 2021 - 06:33:14 EST


Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx> wrote:

> Move wait_for_stable_page() into the folio compatibility file.
> folio_wait_stable() avoids a call to compound_head() and is 14 bytes
> smaller than wait_for_stable_page() was. The net text size grows by 16
> bytes as a result of this patch. We can also remove thp_head() as this
> was the last user.
>
> Signed-off-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>
> Reviewed-by: Christoph Hellwig <hch@xxxxxx>
> Acked-by: Jeff Layton <jlayton@xxxxxxxxxx>
> Acked-by: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx>
> Acked-by: Vlastimil Babka <vbabka@xxxxxxx>
> Reviewed-by: William Kucharski <william.kucharski@xxxxxxxxxx>

Reviewed-by: David Howells <dhowells@xxxxxxxxxx>