Re: [PATCH v6 21/27] mm/filemap: Add wait_on_folio_locked

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


On Wed, Mar 31, 2021 at 07:47:22PM +0100, Matthew Wilcox (Oracle) wrote:
> Also add wait_on_folio_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>

Looks good,

Reviewed-by: Christoph Hellwig <hch@xxxxxx>