# Re: \[PATCH v14 072/138\] mm/writeback: Add folio\_account\_cleaned()

- From: David Howells \<dhowells@redhat.com\>
- Date: 2021-08-10 21:22:24 
- List: linux-mm
- Page: https://ratatoskr.run/linux-mm/2021/08/212020
- Thread: https://ratatoskr.run/linux-mm/2021/07/209943/t/4.md

```text
Matthew Wilcox (Oracle) [ref] 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@infradead.org>
> Reviewed-by: Christoph Hellwig <hch@lst.de>

Reviewed-by: David Howells <dhowells@redhat.com>


```
