Re: [PATCH RFC 26/29] mm: rename PAGE_MAPPING_* to FOLIO_MAPPING_*

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


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

> Now that the mapping flags are only used for folios, let's rename the
> defines.
>
> Signed-off-by: David Hildenbrand <david@xxxxxxxxxx>
> ---
> fs/proc/page.c | 4 ++--
> include/linux/fs.h | 2 +-
> include/linux/mm_types.h | 1 -
> include/linux/page-flags.h | 20 ++++++++++----------
> include/linux/pagemap.h | 2 +-
> mm/gup.c | 4 ++--
> mm/internal.h | 2 +-
> mm/ksm.c | 4 ++--
> mm/rmap.c | 16 ++++++++--------
> mm/util.c | 6 +++---
> 10 files changed, 30 insertions(+), 31 deletions(-)
>
Reviewed-by: Zi Yan <ziy@xxxxxxxxxx>

--
Best Regards,
Yan, Zi