From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 952FAE9A03B for ; Thu, 19 Feb 2026 04:00:22 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 543806B0088; Wed, 18 Feb 2026 23:00:21 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 4F1086B0089; Wed, 18 Feb 2026 23:00:21 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3D31C6B008A; Wed, 18 Feb 2026 23:00:21 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 2B7E96B0088 for ; Wed, 18 Feb 2026 23:00:21 -0500 (EST) Received: from smtpin13.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id AC49D8B712 for ; Thu, 19 Feb 2026 04:00:20 +0000 (UTC) X-FDA: 84459853800.13.A9DE089 Received: from sea.source.kernel.org (sea.source.kernel.org [172.234.252.31]) by imf30.hostedemail.com (Postfix) with ESMTP id F2B7380008 for ; Thu, 19 Feb 2026 04:00:18 +0000 (UTC) Authentication-Results: imf30.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=K+w38PHc; spf=pass (imf30.hostedemail.com: domain of akpm@linux-foundation.org designates 172.234.252.31 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1771473619; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=nk/ipDdL6jgOqAdsQmKQnQ5GJlK2ONcfV8+nHiyL2Vo=; b=6ZPwGVwKSCM1/gbmb5kF97SWVDpRFSSPuJgxsPHuLUU6fiKdpO6+un/eJlvvH8a4A1El3y AMa/CakmqfB+bpoh04V1jcK6pNOd+EAEKCOSZx937D13i18QXUxEhA2kLA4JRPhGjWt4B9 +G4fI4AoU+xSGFJP3pj0/iO4wDU8xk0= ARC-Authentication-Results: i=1; imf30.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=K+w38PHc; spf=pass (imf30.hostedemail.com: domain of akpm@linux-foundation.org designates 172.234.252.31 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org; dmarc=none ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1771473619; a=rsa-sha256; cv=none; b=BxDexDVTL//NuNyqxZr/0oDv0vbSPnJggfaTZvp43QTce1FIM1wKq1kTWya9smxedxGDiW 5/HMW1gsVeWVLNUfVrQHF8m2MUMw+qvuIr5uAoBFHlZ3gdwlpPZ6RjbCpy8HQBo8ycWovu HsWIJ6bipylnHroj6L5xxmDeEmbH59s= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id C5BC340638; Thu, 19 Feb 2026 04:00:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 64817C4CEF7; Thu, 19 Feb 2026 04:00:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1771473617; bh=Q07e9JWLPcdyFieUY5FhpW1TNpE6sewdegz7THN/6Sk=; h=Date:From:To:Cc:Subject:From; b=K+w38PHc+bv1mv3yCOnpllbLE2dUdFhZ54/RLC7uRCkcg6shTQV/O4YXUKFpIIZyM 2+0x1kXQg3faoXulpsYnGPAtVqyoRb0AGG6vUKhctNANLAegC6pKo23KgUay7bfiD/ WfdG4vqmH5pqMwfwmFwNR6C4uiTCOWDedg/CkpF0= Date: Wed, 18 Feb 2026 20:00:16 -0800 From: Andrew Morton To: Linus Torvalds Cc: linux-mm@kvack.org, mm-commits@vger.kernel.org, linux-kernel@vger.kernel.org Subject: {GIT PULL] additional MM updates for 7.0-rc1 Message-Id: <20260218200016.8906fb904af9439e7b496327@linux-foundation.org> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Stat-Signature: ec845ourudeqp6p5qbkhefyb4zr94cgk X-Rspamd-Server: rspam11 X-Rspam-User: X-Rspamd-Queue-Id: F2B7380008 X-HE-Tag: 1771473618-463906 X-HE-Meta: U2FsdGVkX1+PhxLOpGutwfeBgDXrpk2FFJ1tM0R8VIqrxiyH5FWE1byTEwZBs455DzO/ALPvMOpNcK4lkpV68W/LQnxPVVNsIZ7trkq7oAxiSe9rJmMObdG9rOFWyqntXZTnWs5mdpBGihoT7Stt0G8GII4lIVCj5F/vN7Btsf1JoDNjTkKCHN8JxgeCMf5lwW9qM94ar4QUw77jwlA9e0k2z13etxSfK9U8UsnFVtHiibgs3YRkKtGNacrBIV92/5H4gkzOgGtPE3tOWwvtg9ikSeg0eKLx+jgN2gLDZYK4poQzyxm9rdUYZDX2ta11V8o2ghizz88OfCQ68XtmpekOYLlcznNGdmz8JU96aXFNCIc6HUUpUufpeQYw9vkiRbO/jmp7b0BbyhCfVeUVOCuzBi5E+IJwO5+gbIptVDkMsvZmYRuPrMF1k5/+00i2e6xp7+s0nMfSyHKc8Qc7B3DniKsKtG/SfAqrBaP8espwfj5JklMHXxfIwhNookpXEvYCKhNryIutu4oNhnyFi4g4CrQGWEyRGAZWjq1P79lbVZM1D9pa8Zsc8Vrn6SNmxPFfpPkRd7OZYGAmEGZ/rHr0+NpydFR9fonQFL910b8kF0VKXHMA4W81i7UuRExPvHZO+zl/g+zJ6mwOiCw5NVArsIzWnUs0JNTZz1ULtCYKPaVzE+cGe+mYyxzqzzqEzqZBkLXLUFkWiqaEVsleIDobPaUNBK439D1QRxZJYi7LNSMk+Xwlg6bTQGdSCNED3woOZzfhwtteqEBrmfrbKsgAWKWyVd1Wpfdx5qkcP3SFJkk0xVWK2QBZTrBfNesLZ78aHymXWMkbFO6Ghfz4bzj/aH3Tq3iz+lQrYQR8wgq0T13KkBTPgkHNzz2uPRiY492W0b9RFhHuqLVJBZvciwXLKvh6X5pWDfomgnz+vyHrJpD5yAlQlDN/grNykoqcGePH9K8W9HV9rGE25AQ AdvTYlCi +MZZCEaJq5HGu0z1Enb/NzhPGtGFiJPVjZlo/Uag2yTxKAqVzkonLaJ/imjUitFya4Jw1o7sS4lDAfI2HkOMvbW4Jc/Xq90e+wJRskbNRy1WhYM1mj22l5q49sQs+HNoXJFvMmsv9c0w7SMSwbrFkPfpHZVGzBFxklhSVlbLJPJMlA10FO0Av0UUoQj+Y60mLjZ+eoOu/ztKpNVkf+Hq2ZVWZln2m8jM85CfCpK54gRD4axvFT+xaRBAsaLF1gCOXBUv5XnwliaH++/0wD/ibARnSRsrxW8ZU/rpcldG/EgznHbOk5eyMzRA7UetR5glMSdj2PwwVbSnylvg= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: Linus, please merge this second and final batch of MM updates for the 7.0-rcX cycle, thanks. Merge conflicts which I'm seeing and their possible resolutions are: drivers/gpu/drm/i915/gem/i915_gem_shmem.c https://lkml.kernel.org/r/aXerLzIbpMy9d4lx@sirena.org.uk fs/ntfs3/file.c https://lkml.kernel.org/r/aXeZNSiVv82Gc9HF@sirena.org.uk The following changes since commit fb4ddf2085115ed28dedc427d9491707b476bbfe: mm/memory: handle non-split locks correctly in zap_empty_pte_table() (2026-02-06 15:47:19 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm tags/mm-stable-2026-02-18-19-48 for you to fetch changes up to ac1ea219590c09572ed5992dc233bbf7bb70fef9: mm/page_alloc: clear page->private in free_pages_prepare() (2026-02-12 15:43:02 -0800) ---------------------------------------------------------------- mm.git review status for linus..mm-stable Total patches: 36 Reviews/patch: 1.77 Reviewed rate: 83% - The 2 patch series "mm/vmscan: fix demotion targets checks in reclaim/demotion" from Bing Jiao fixes a couple of issues in the demotion code - pages were failed demotion and were finding themselves demoted into disallowed nodes. - The 11 patch series "Remove XA_ZERO from error recovery of dup_mmap()" from Liam Howlett fixes a rare mapledtree race and performs a number of cleanups. - The 13 patch series "mm: add bitmap VMA flag helpers and convert all mmap_prepare to use them" from Lorenzo Stoakes implements a lot of cleanups following on from the conversion of the VMA flags into a bitmap. - The 5 patch series "support batch checking of references and unmapping for large folios" from Baolin Wang implements batching to greatly improve the performance of reclaiming clean file-backed large folios. - The 3 patch series "selftests/mm: add memory failure selftests" from Miaohe Lin does as claimed. ---------------------------------------------------------------- Ankur Arora (1): mm: folio_zero_user: open code range computation in folio_zero_user() Baolin Wang (5): mm: rmap: support batched checks of the references for large folios arm64: mm: factor out the address and ptep alignment into a new helper arm64: mm: support batch clearing of the young flag for large folios arm64: mm: implement the architecture-specific clear_flush_young_ptes() mm: rmap: support batched unmapping for file large folios Bing Jiao (2): mm/vmscan: fix demotion targets checks in reclaim/demotion mm/vmscan: select the closest preferred node in demote_folio_list() Liam R. Howlett (11): mm: relocate the page table ceiling and floor definitions mm/mmap: move exit_mmap() trace point mm/mmap: abstract vma clean up from exit_mmap() mm/vma: add limits to unmap_region() for vmas mm/memory: add tree limit to free_pgtables() mm/vma: add page table limit to unmap_region() mm: change dup_mmap() recovery mm: introduce unmap_desc struct to reduce function arguments mm/vma: use unmap_desc in exit_mmap() and vms_clear_ptes() mm/vma: use unmap_region() in vms_clear_ptes() mm: use unmap_desc struct for freeing page tables Lorenzo Stoakes (13): mm/vma: remove __private sparse decoration from vma_flags_t mm: rename vma_flag_test/set_atomic() to vma_test/set_atomic_flag() mm: add mk_vma_flags() bitmap flag macro helper tools: bitmap: add missing bitmap_[subset(), andnot()] mm: add basic VMA flag operation helper functions mm: update hugetlbfs to use VMA flags on mmap_prepare mm: update secretmem to use VMA flags on mmap_prepare mm: update shmem_[kernel]_file_*() functions to use vma_flags_t mm: update all remaining mmap_prepare users to use vma_flags_t mm: make vm_area_desc utilise vma_flags_t only tools/testing/vma: separate VMA userland tests into separate files tools/testing/vma: separate out vma_internal.h into logical headers tools/testing/vma: add VMA userland tests for VMA flag functions Miaohe Lin (3): selftests/mm: add memory failure anonymous page test selftests/mm: add memory failure clean pagecache test selftests/mm: add memory failure dirty pagecache test Mikhail Gavrilov (1): mm/page_alloc: clear page->private in free_pages_prepare() MAINTAINERS | 1 + arch/arm64/include/asm/pgtable.h | 23 +- arch/arm64/mm/contpte.c | 62 +- arch/x86/kernel/cpu/sgx/ioctl.c | 2 +- drivers/char/mem.c | 6 +- drivers/dax/device.c | 10 +- drivers/gpu/drm/drm_gem.c | 5 +- drivers/gpu/drm/i915/gem/i915_gem_shmem.c | 2 +- drivers/gpu/drm/i915/gem/i915_gem_ttm.c | 3 +- drivers/gpu/drm/i915/gt/shmem_utils.c | 3 +- drivers/gpu/drm/ttm/tests/ttm_tt_test.c | 2 +- drivers/gpu/drm/ttm/ttm_backup.c | 3 +- drivers/gpu/drm/ttm/ttm_tt.c | 2 +- fs/aio.c | 2 +- fs/erofs/data.c | 5 +- fs/ext4/file.c | 4 +- fs/hugetlbfs/inode.c | 14 +- fs/ntfs3/file.c | 2 +- fs/orangefs/file.c | 4 +- fs/ramfs/file-nommu.c | 2 +- fs/resctrl/pseudo_lock.c | 2 +- fs/romfs/mmap-nommu.c | 2 +- fs/xfs/scrub/xfile.c | 3 +- fs/xfs/xfs_buf_mem.c | 2 +- fs/xfs/xfs_file.c | 4 +- fs/zonefs/file.c | 3 +- include/linux/cpuset.h | 6 +- include/linux/dax.h | 8 +- include/linux/hugetlb.h | 6 +- include/linux/hugetlb_inline.h | 10 + include/linux/memcontrol.h | 6 +- include/linux/memory-tiers.h | 6 +- include/linux/mm.h | 252 ++- include/linux/mm_types.h | 23 +- include/linux/mmu_notifier.h | 9 +- include/linux/pgtable.h | 73 +- include/linux/shmem_fs.h | 8 +- ipc/shm.c | 12 +- kernel/cgroup/cpuset.c | 54 +- kernel/relay.c | 2 +- mm/filemap.c | 2 +- mm/hugetlb.c | 22 +- mm/internal.h | 10 +- mm/khugepaged.c | 2 +- mm/madvise.c | 2 +- mm/memcontrol.c | 16 +- mm/memfd.c | 6 +- mm/memory-tiers.c | 21 +- mm/memory.c | 101 +- mm/mmap.c | 110 +- mm/mremap.c | 2 +- mm/page_alloc.c | 1 + mm/rmap.c | 38 +- mm/secretmem.c | 7 +- mm/shmem.c | 61 +- mm/util.c | 2 +- mm/vma.c | 67 +- mm/vma.h | 73 +- mm/vma_internal.h | 1 + mm/vmscan.c | 31 +- security/keys/big_key.c | 2 +- tools/include/linux/bitmap.h | 22 + tools/lib/bitmap.c | 29 + tools/testing/selftests/mm/.gitignore | 1 + tools/testing/selftests/mm/Makefile | 2 + tools/testing/selftests/mm/config | 2 + tools/testing/selftests/mm/ksft_memory_failure.sh | 4 + tools/testing/selftests/mm/memory-failure.c | 359 ++++ tools/testing/selftests/mm/run_vmtests.sh | 21 + tools/testing/selftests/mm/vm_util.c | 41 + tools/testing/selftests/mm/vm_util.h | 3 + tools/testing/vma/Makefile | 7 +- tools/testing/vma/include/custom.h | 119 ++ tools/testing/vma/include/dup.h | 1320 +++++++++++++++ tools/testing/vma/include/stubs.h | 428 +++++ tools/testing/vma/main.c | 55 + tools/testing/vma/shared.c | 131 ++ tools/testing/vma/shared.h | 114 ++ tools/testing/vma/{vma.c => tests/merge.c} | 332 +--- tools/testing/vma/tests/mmap.c | 57 + tools/testing/vma/tests/vma.c | 339 ++++ tools/testing/vma/vma_internal.h | 1847 +-------------------- 82 files changed, 3939 insertions(+), 2519 deletions(-) create mode 100755 tools/testing/selftests/mm/ksft_memory_failure.sh create mode 100644 tools/testing/selftests/mm/memory-failure.c create mode 100644 tools/testing/vma/include/custom.h create mode 100644 tools/testing/vma/include/dup.h create mode 100644 tools/testing/vma/include/stubs.h create mode 100644 tools/testing/vma/main.c create mode 100644 tools/testing/vma/shared.c create mode 100644 tools/testing/vma/shared.h rename tools/testing/vma/{vma.c => tests/merge.c} (82%) create mode 100644 tools/testing/vma/tests/mmap.c create mode 100644 tools/testing/vma/tests/vma.c