# Re: \[PATCH v14 050/138\] mm/workingset: Convert workingset\_activation to take a folio

- From: David Howells \<dhowells@redhat.com\>
- Date: 2021-08-10 20:39:46 
- List: linux-mm
- Page: https://ratatoskr.run/linux-mm/2021/08/212004
- Thread: https://ratatoskr.run/linux-mm/2021/07/209943/t/4.md

```text
Matthew Wilcox (Oracle) [ref] wrote:

> This function already assumed it was being passed a head page.  No real
> change here, except that thp_nr_pages() compiles away on kernels with
> THP compiled out while folio_nr_pages() is always present.  Also convert
> page_memcg_rcu() to folio_memcg_rcu().
> 
> Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
> Reviewed-by: Christoph Hellwig <hch@lst.de>

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


```
