[GIT PULL] Final MM updates for 6.16-rc1

From: Andrew Morton
Date: Fri Jun 06 2025 - 19:12:40 EST



Linus, please merge this single bugfix series for this -rc cycle, thanks.


The following changes since commit 546b1c9e93c2bb8cf5ed24e0be1c86bb089b3253:

Merge tag 'bootconfig-v6.16' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace (2025-06-02 17:39:24 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm tags/mm-stable-2025-06-06-16-09

for you to fetch changes up to efe99fabeb11b030c89a7dc5a5e7a7558d0dc7ec:

selftests/mm: add test about uprobe pte be orphan during vma merge (2025-06-05 21:55:42 -0700)

----------------------------------------------------------------
- The 4 patch series "Fix uprobe pte be overwritten when expanding vma"
fixes a longstanding and quite obscure bug related to the vma merging of
the uprobe mmap page.

----------------------------------------------------------------
Enze Li (1):
mm/damon: s/primitives/code/ on comments

Pu Lehui (4):
mm: fix uprobe pte be overwritten when expanding vma
mm: expose abnormal new_pte during move_ptes
selftests/mm: extract read_sysfs and write_sysfs into vm_util
selftests/mm: add test about uprobe pte be orphan during vma merge

mm/damon/modules-common.c | 2 +-
mm/damon/modules-common.h | 2 +-
mm/damon/ops-common.c | 2 +-
mm/damon/ops-common.h | 2 +-
mm/damon/paddr.c | 2 +-
mm/damon/sysfs-common.c | 2 +-
mm/damon/sysfs-common.h | 2 +-
mm/damon/vaddr.c | 2 +-
mm/mremap.c | 2 ++
mm/vma.c | 20 +++++++++++++---
mm/vma.h | 7 ++++++
tools/testing/selftests/mm/ksm_tests.c | 32 ++-----------------------
tools/testing/selftests/mm/merge.c | 43 ++++++++++++++++++++++++++++++++++
tools/testing/selftests/mm/thuge-gen.c | 6 ++---
tools/testing/selftests/mm/vm_util.c | 38 ++++++++++++++++++++++++++++++
tools/testing/selftests/mm/vm_util.h | 2 ++
16 files changed, 122 insertions(+), 44 deletions(-)