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

Zi Yan ziy at nvidia.com
Tue Jun 24 00:20:15 AEST 2025


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 at redhat.com>
> ---
>  include/linux/page-flags.h | 5 -----
>  mm/page_alloc.c            | 7 +++----
>  2 files changed, 3 insertions(+), 9 deletions(-)
>
Reviewed-by: Zi Yan <ziy at nvidia.com>

--
Best Regards,
Yan, Zi


More information about the Linuxppc-dev mailing list