[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20250804185852.038ce90aa6f9a177c492b675@linux-foundation.org>
Date: Mon, 4 Aug 2025 18:58:52 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: linux-mm@...ck.org, mm-commits@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [GIT PULL] Additional MM updates for 6.17-rc1
Linus, please pull this second and final batch of MM updates for the
upcoming -rc1 cycle, thanks.
I'm presently seeing no merge issues with this small batch of changes.
Thanks.
The following changes since commit af915c3c13b64d196d1c305016092f5da20942c4:
MAINTAINERS: add missing headers to mempory policy & migration section (2025-07-26 15:08:24 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm tags/mm-stable-2025-08-03-12-35
for you to fetch changes up to a2152fef29020e740ba0276930f3a24440012505:
mm: mempool: fix crash in mempool_free() for zero-minimum pools (2025-08-02 12:06:13 -0700)
----------------------------------------------------------------
Significant patch series in this pull request:
- The 4 patch series "mseal cleanups" from Lorenzo Stoakes erforms some
mseal cleaning with no intended functional change.
- The 3 patch series "Optimizations for khugepaged" from David
Hildenbrand improves khugepaged throughput by batching PTE operations
for large folios. This gain is mainly for arm64.
- The 8 patch series "x86: enable EXECMEM_ROX_CACHE for ftrace and
kprobes" from Mike Rapoport provides a bugfix, additional debug code and
cleanups to the execmem code.
- The 7 patch series "mm/shmem, swap: bugfix and improvement of mTHP
swap in" from Kairui Song provides bugfixes, cleanups and performance
improvememnts to the mTHP swapin code.
----------------------------------------------------------------
Baolin Wang (1):
mm: shmem: fix the shmem large folio allocation for the i915 driver
Bijan Tabatabai (1):
mm/damon/vaddr: skip isolating folios already in destination nid
David Hildenbrand (1):
mm: add get_and_clear_ptes() and clear_ptes()
Dev Jain (2):
khugepaged: optimize __collapse_huge_page_copy_succeeded() by PTE batching
khugepaged: optimize collapse_pte_mapped_thp() by PTE batching
Jann Horn (2):
kasan: skip quarantine if object is still accessible under RCU
mm/rmap: add anon_vma lifetime debug check
Jinjiang Tu (2):
mm/memory-failure: hold PTL in hwpoison_hugetlb_range
mm/mincore: hold PTL in mincore_hugetlb
Joanne Koong (1):
mm/page-flags: remove folio_start_writeback_keepwrite()
Kairui Song (8):
mm/shmem, swap: improve cached mTHP handling and fix potential hang
mm/shmem, swap: avoid redundant Xarray lookup during swapin
mm/shmem, swap: tidy up THP swapin checks
mm/shmem, swap: tidy up swap entry splitting
mm/shmem, swap: never use swap cache and readahead for SWP_SYNCHRONOUS_IO
mm/shmem, swap: simplify swapin path and result handling
mm/shmem, swap: rework swap entry and index calculation for large swapin
mm/shmem, swap: fix major fault counting
Lorenzo Stoakes (7):
mm/mseal: always define VM_SEALED
mm/mseal: update madvise() logic
mm/mseal: small cleanups
mm/mseal: simplify and rename VMA gap check
mm/mseal: rework mseal apply logic
mm: remove mm/io-mapping.c
mm: correct type for vmalloc vm_flags fields
Mike Rapoport (Microsoft) (8):
execmem: drop unused execmem_update_copy()
execmem: introduce execmem_alloc_rw()
execmem: rework execmem_cache_free()
execmem: move execmem_force_rw() and execmem_restore_rox() before use
execmem: add fallback for failures in vmalloc(VM_ALLOW_HUGE_VMAP)
execmem: drop writable parameter from execmem_fill_trapping_insns()
x86/kprobes: enable EXECMEM_ROX_CACHE for kprobes allocations
x86/ftrace: enable EXECMEM_ROX_CACHE for ftrace allocations
Suren Baghdasaryan (1):
mm: fix a UAF when vma->mm is freed after vma->vm_refcnt got dropped
Suresh K C (1):
selftests: cachestat: add tests for mmap, refactor and enhance mmap test for cachestat validation
Xuanye Liu (1):
mm: add process info to bad rss-counter warning
Yadan Fan (1):
mm: mempool: fix crash in mempool_free() for zero-minimum pools
wang lian (1):
selftests/mm: add process_madvise() tests
Documentation/core-api/mm-api.rst | 1 -
arch/arm64/mm/mmu.c | 4 +-
arch/x86/kernel/alternative.c | 3 +-
arch/x86/kernel/ftrace.c | 2 +-
arch/x86/kernel/kprobes/core.c | 18 --
arch/x86/mm/init.c | 24 +-
include/linux/execmem.h | 54 ++--
include/linux/io-mapping.h | 3 -
include/linux/mm.h | 6 +-
include/linux/mmap_lock.h | 30 ++
include/linux/page-flags.h | 2 -
include/linux/pgtable.h | 45 +++
include/linux/rmap.h | 22 ++
kernel/fork.c | 9 +-
kernel/module/main.c | 13 +-
mm/Kconfig | 4 -
mm/Makefile | 1 -
mm/damon/vaddr.c | 4 +
mm/execmem.c | 206 ++++++++----
mm/internal.h | 2 +-
mm/io-mapping.c | 30 --
mm/kasan/common.c | 25 +-
mm/khugepaged.c | 58 ++--
mm/madvise.c | 71 ++++-
mm/memory-failure.c | 12 +-
mm/mempool.c | 24 +-
mm/mincore.c | 3 +
mm/mmap_lock.c | 10 +-
mm/mprotect.c | 2 +-
mm/mremap.c | 4 +-
mm/mseal.c | 166 +++-------
mm/nommu.c | 2 +-
mm/rmap.c | 2 +-
mm/shmem.c | 279 +++++++++--------
mm/vma.c | 4 +-
mm/vma.h | 27 +-
tools/testing/selftests/cachestat/test_cachestat.c | 62 +++-
tools/testing/selftests/mm/.gitignore | 1 +
tools/testing/selftests/mm/Makefile | 1 +
tools/testing/selftests/mm/process_madv.c | 344 +++++++++++++++++++++
tools/testing/selftests/mm/run_vmtests.sh | 5 +
tools/testing/vma/vma_internal.h | 6 +-
42 files changed, 1080 insertions(+), 511 deletions(-)
delete mode 100644 mm/io-mapping.c
create mode 100644 tools/testing/selftests/mm/process_madv.c
Powered by blists - more mailing lists