Re: [PATCH v11 22/33] mm/filemap: Add folio_wait_locked()

From: David Howells
Date: Wed Jun 16 2021 - 06:23:47 EST


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

> Also add folio_wait_locked_killable(). Turn wait_on_page_locked() and
> wait_on_page_locked_killable() into wrappers. This eliminates a call
> to compound_head() from each call-site, reducing text size by 193 bytes
> for me.
>
> 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>