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

Christoph Hellwig
2021-04-06T13:58:31Z

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@lst.de>