Re: [PATCH v10 23/33] mm/filemap: Add folio_wait_locked

From: Vlastimil Babka
Date: Tue May 18 2021 - 06:41:44 EST

On 5/11/21 11:47 PM, Matthew Wilcox (Oracle) 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 200
> 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: Vlastimil Babka <vbabka@xxxxxxx>

(and it fixes filemap.c to be compilable again)