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

Matthew Wilcox willy at infradead.org
Mon Oct 24 13:12:02 PDT 2022


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 at gmail.com>

Reviewed-by: Matthew Wilcox (Oracle) <willy at infradead.org>



More information about the linux-afs mailing list