Re: [PATCH v14 072/138] mm/writeback: Add folio_account_cleaned()

From: David Howells
Date: Tue Aug 10 2021 - 17:22:26 EST


Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx> wrote:

> Get the statistics right; compound pages were being accounted as a
> single page. This didn't matter before now as no filesystem which
> supported compound pages did writeback. Also move the declaration
> to filemap.h since this is part of the page cache. Add a wrapper for
> account_page_cleaned().
>
> Signed-off-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>
> Reviewed-by: Christoph Hellwig <hch@xxxxxx>

Reviewed-by: David Howells <dhowells@xxxxxxxxxx>