Thread (96 messages) 96 messages, 6 authors, 2021-06-08

Re: [PATCH v10 26/33] mm/writeback: Add folio_wait_writeback

From: Vlastimil Babka <hidden>
Date: 2021-05-18 11:13:15
Also in: linux-fsdevel, lkml

On 5/11/21 11:47 PM, Matthew Wilcox (Oracle) wrote:
wait_on_page_writeback_killable() only has one caller, so convert it to
call folio_wait_writeback_killable().  For the wait_on_page_writeback()
callers, add a compatibility wrapper around folio_wait_writeback().

Turning PageWriteback() into folio_writeback() eliminates a call to
compound_head() which saves 8 bytes and 15 bytes in the two functions.
That is more than offset by adding the wait_on_page_writeback
compatibility wrapper for a net increase in text of 15 bytes.

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: Vlastimil Babka <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help