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

From: Christoph Hellwig
Date: Tue Apr 06 2021 - 09:58:31 EST


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@xxxxxx>