mbox series

[v3,00/11] Some cleanups for memory-failure

Message ID 20240412193510.2356957-1-willy@infradead.org (mailing list archive)
Headers show
Series Some cleanups for memory-failure | expand

Message

Matthew Wilcox April 12, 2024, 7:34 p.m. UTC
A lot of folio conversions, plus some other simplifications.

v3:
 - Rebase on next-20240412
 - Reinstate missing hunks of "Return the address from page_mapped_in_vma()"
 - Accumulate R-b tags

Matthew Wilcox (Oracle) (11):
  mm/memory-failure: Remove fsdax_pgoff argument from __add_to_kill
  mm/memory-failure: Pass addr to __add_to_kill()
  mm: Return the address from page_mapped_in_vma()
  mm: Make page_mapped_in_vma conditional on CONFIG_MEMORY_FAILURE
  mm/memory-failure: Convert shake_page() to shake_folio()
  mm: Convert hugetlb_page_mapping_lock_write to folio
  mm/memory-failure: Convert memory_failure() to use a folio
  mm/memory-failure: Convert hwpoison_user_mappings to take a folio
  mm/memory-failure: Add some folio conversions to unpoison_memory
  mm/memory-failure: Use folio functions throughout collect_procs()
  mm/memory-failure: Pass the folio to collect_procs_ksm()

 include/linux/hugetlb.h |   6 +-
 include/linux/ksm.h     |  14 +---
 include/linux/mm.h      |   1 -
 include/linux/rmap.h    |   2 +-
 mm/hugetlb.c            |   6 +-
 mm/hwpoison-inject.c    |  11 +--
 mm/internal.h           |   1 +
 mm/ksm.c                |   5 +-
 mm/memory-failure.c     | 150 +++++++++++++++++++++-------------------
 mm/migrate.c            |   2 +-
 mm/page_vma_mapped.c    |  18 +++--
 11 files changed, 108 insertions(+), 108 deletions(-)