mbox series

[00/10] Various page->flags cleanups

Message ID 20240326171045.410737-1-willy@infradead.org (mailing list archive)
Headers show
Series Various page->flags cleanups | expand

Message

Matthew Wilcox March 26, 2024, 5:10 p.m. UTC
The first two patches are bug fixes, although I'm not sure that either
architecture will have noticed.  There aren't a lot of uses of page->flags
left!  The big build-up here is to reworking stable_page_flags(), which
will definitely be a user-visible change.  I think a welcome one, given
the special case we had to spread the Slab flag into all tail pages.

Matthew Wilcox (Oracle) (10):
  sh: Remove use of PG_arch_1 on individual pages
  xtensa: Remove uses of PG_arch_1 on individual pages
  mm: Make page_ext_get() take a const argument
  mm: Make folio_test_idle and folio_test_young take a const argument
  mm: Make is_free_buddy_page() take a const argument
  mm: Make page_mapped() take a const argument
  mm: Convert arch_clear_hugepage_flags to take a folio
  slub: Remove use of page->flags
  Remove references to page->flags in documentation
  proc: Rewrite stable_page_flags()

 .../admin-guide/cgroup-v1/memory.rst          |  4 +-
 Documentation/mm/vmemmap_dedup.rst            | 22 +------
 .../translations/zh_CN/core-api/cachetlb.rst  |  2 +-
 arch/arm/include/asm/hugetlb.h                |  6 +-
 arch/arm64/include/asm/hugetlb.h              |  6 +-
 arch/riscv/include/asm/hugetlb.h              |  6 +-
 arch/s390/include/asm/hugetlb.h               |  6 +-
 arch/sh/include/asm/hugetlb.h                 |  6 +-
 arch/sh/mm/cache-sh4.c                        |  5 +-
 arch/xtensa/mm/cache.c                        |  6 +-
 fs/proc/page.c                                | 66 ++++++++++---------
 include/linux/huge_mm.h                       |  4 +-
 include/linux/hugetlb.h                       |  4 +-
 include/linux/mm.h                            | 12 ++--
 include/linux/page-flags.h                    |  4 +-
 include/linux/page_ext.h                      |  4 +-
 include/linux/page_idle.h                     | 10 +--
 include/linux/pgalloc_tag.h                   |  2 -
 mm/hugetlb.c                                  |  4 +-
 mm/internal.h                                 |  7 +-
 mm/migrate.c                                  |  2 +-
 mm/page_alloc.c                               |  8 +--
 mm/page_ext.c                                 |  2 +-
 mm/rmap.c                                     |  6 +-
 mm/slub.c                                     | 10 +--
 25 files changed, 97 insertions(+), 117 deletions(-)