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

2021-04-06 Thread Christoph Hellwig
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() >

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

2021-03-31 Thread Matthew Wilcox (Oracle)
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. Signed-off-by: