Thread (389 messages) 389 messages, 13 authors, 2021-08-21

Re: [PATCH v14 022/138] mm/filemap: Add __folio_lock_or_retry()

From: David Howells <dhowells@redhat.com>
Date: 2021-08-10 15:35:53
Also in: linux-fsdevel, linux-mm

Matthew Wilcox (Oracle) [off-list ref] wrote:
Convert __lock_page_or_retry() to __folio_lock_or_retry().  This actually
saves 4 bytes in the only caller of lock_page_or_retry() (due to better
register allocation) and saves the 14 byte cost of calling page_folio()
in __folio_lock_or_retry() for a total saving of 18 bytes.  Also use
a bool for the return type.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Jeff Layton <jlayton@kernel.org>
Acked-by: Kirill A. Shutemov <redacted>
Reviewed-by: William Kucharski <redacted>
Reviewed-by: David Howells <dhowells@redhat.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help