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

From: David Howells
Date: Tue Aug 10 2021 - 16:39:47 EST


Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxx>
> Reviewed-by: Christoph Hellwig <hch@xxxxxx>

Reviewed-by: David Howells <dhowells@xxxxxxxxxx>