mbox series

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

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

Message

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

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 -
 mm/hugetlb.c            |   6 +-
 mm/hwpoison-inject.c    |  11 ++--
 mm/internal.h           |   1 +
 mm/ksm.c                |   5 +-
 mm/memory-failure.c     | 130 ++++++++++++++++++++--------------------
 mm/migrate.c            |   2 +-
 mm/page_vma_mapped.c    |  16 +++--
 10 files changed, 94 insertions(+), 98 deletions(-)

Comments

Jane Chu April 9, 2024, 6:28 a.m. UTC | #1
Hi, Matthew,

What is the series based on?

thanks,

-jane

On 4/8/2024 12:42 PM, Matthew Wilcox (Oracle) wrote:
> A lot of folio conversions, plus some other simplifications.
>
> 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 -
>   mm/hugetlb.c            |   6 +-
>   mm/hwpoison-inject.c    |  11 ++--
>   mm/internal.h           |   1 +
>   mm/ksm.c                |   5 +-
>   mm/memory-failure.c     | 130 ++++++++++++++++++++--------------------
>   mm/migrate.c            |   2 +-
>   mm/page_vma_mapped.c    |  16 +++--
>   10 files changed, 94 insertions(+), 98 deletions(-)
>
Matthew Wilcox April 9, 2024, 12:12 p.m. UTC | #2
On Mon, Apr 08, 2024 at 11:28:26PM -0700, Jane Chu wrote:
> Hi, Matthew,
> 
> What is the series based on?

It's against next-20240408 but shouldn't have any
dependencies outside of branch 'mm-everything' of
git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm