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

Christoph Hellwig
2021-04-06T14:13:33Z

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@infradead.org>

Looks good,

Reviewed-by: Christoph Hellwig <hch@lst.de>