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

Christoph Hellwig hch at infradead.org
Tue Apr 6 15:11:51 BST 2021


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

Looks good,

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



More information about the linux-afs mailing list