[PATCH v6 20/27] mm/filemap: Add __lock_folio_or_retry

Christoph Hellwig hch at infradead.org
Tue Apr 6 14:57:25 BST 2021


On Wed, Mar 31, 2021 at 07:47:21PM +0100, Matthew Wilcox (Oracle) wrote:
> Convert __lock_page_or_retry() to __lock_folio_or_retry().  This actually
> saves 4 bytes in the only caller of lock_page_or_retry() (due to better
> register allocation) and saves the 20 byte cost of calling page_folio()
> in __lock_folio_or_retry() for a total saving of 24 bytes.

Looks good,

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



More information about the linux-afs mailing list