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

From: Vlastimil Babka
Date: Wed Jan 11 2023 - 10:45:45 EST


On 1/6/23 22:52, 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>

Acked-by: Vlastimil Babka <vbabka@xxxxxxx>