Re: [PATCH mm-unstable] mm: introduce folio_is_pfmemalloc

From: Matthew Wilcox
Date: Fri Jan 06 2023 - 18:08:17 EST


On Fri, Jan 06, 2023 at 03:52:51PM -0600, Sidhartha Kumar wrote:
> Add a folio equivalent for page_is_pfmemalloc. This removes two instances
> of page_is_pfmemalloc(folio_page(folio, 0)) so the folio can be used
> directly.
>
> Suggested-by: Matthew Wilcox <willy@xxxxxxxxxxxxx>
> Signed-off-by: Sidhartha Kumar <sidhartha.kumar@xxxxxxxxxx>

Reviewed-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>