mbox series

[0/9] Various significant MM patches

Message ID 20240321142448.1645400-1-willy@infradead.org (mailing list archive)
Headers show
Series Various significant MM patches | expand

Message

Matthew Wilcox March 21, 2024, 2:24 p.m. UTC
These patches all interact in annoying ways which make it tricky to
send them out in any way other than a big batch, even though there's
not really an overarching theme to connect them.

The big effects of this patch series are:

 - folio_test_hugetlb() becomes reliable, even when called without a
   page reference
 - We free up PG_slab, and we could always use more page flags
 - We no longer need to check PageSlab before calling page_mapcount()

Matthew Wilcox (Oracle) (9):
  mm: Always initialise folio->_deferred_list
  mm: Create FOLIO_FLAG_FALSE and FOLIO_TYPE_OPS macros
  mm: Remove folio_prep_large_rmappable()
  mm: Support page_mapcount() on page_has_type() pages
  mm: Turn folio_test_hugetlb into a PageType
  mm: Remove a call to compound_head() from is_page_hwpoison()
  mm: Free up PG_slab
  mm: Improve dumping of mapcount and page_type
  hugetlb: Remove mention of destructors

 fs/proc/page.c                 |   7 +-
 include/linux/huge_mm.h        |   3 -
 include/linux/mm.h             |   8 +-
 include/linux/page-flags.h     | 172 ++++++++++++++++++++-------------
 include/trace/events/mmflags.h |   3 +-
 mm/debug.c                     |  19 ++--
 mm/huge_memory.c               |  11 +--
 mm/hugetlb.c                   |  65 ++++---------
 mm/internal.h                  |   5 +-
 mm/memcontrol.c                |   2 +
 mm/memory-failure.c            |   9 --
 mm/page_alloc.c                |   9 +-
 mm/slab.h                      |   2 +-
 13 files changed, 155 insertions(+), 160 deletions(-)