Re: [PATCH RFC 23/29] mm/page-alloc: remove PageMappingFlags()

From: Zi Yan
Date: Mon Jun 23 2025 - 10:22:53 EST


On 18 Jun 2025, at 13:40, David Hildenbrand wrote:

> We can now simply check for PageAnon() and remove PageMappingFlags().
>
> ... and while at it, use the folio instead and operate on
> folio->mapping.
>
> Signed-off-by: David Hildenbrand <david@xxxxxxxxxx>
> ---
> include/linux/page-flags.h | 5 -----
> mm/page_alloc.c | 7 +++----
> 2 files changed, 3 insertions(+), 9 deletions(-)
>
Reviewed-by: Zi Yan <ziy@xxxxxxxxxx>

--
Best Regards,
Yan, Zi