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

Zi Yan ziy at nvidia.com
Tue Jun 24 00:25:55 AEST 2025


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 at redhat.com>
> ---
>  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 at nvidia.com>

--
Best Regards,
Yan, Zi


More information about the Linuxppc-dev mailing list