Re: [PATCH v3 04/23] page-writeback: Convert write_cache_pages() to use filemap_get_folios_tag()

From: Matthew Wilcox
Date: Mon Oct 24 2022 - 17:59:41 EST


On Mon, Oct 17, 2022 at 01:24:32PM -0700, Vishal Moola (Oracle) wrote:
> Converted function to use folios throughout. This is in preparation for
> the removal of find_get_pages_range_tag().

And removes eight calls to compound_head(), saving 296 bytes of kernel
text (!) It also adds support for large folios to this function.

> Signed-off-by: Vishal Moola (Oracle) <vishal.moola@xxxxxxxxx>

Reviewed-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>