From patchwork Sun Mar 9 00:30:05 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Andrew Morton X-Patchwork-Id: 14008007 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]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0B9D1C282EC for ; Sun, 9 Mar 2025 00:30:11 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 18BA76B0082; Sat, 8 Mar 2025 19:30:10 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 117A36B0083; Sat, 8 Mar 2025 19:30:10 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id EF8DF6B0085; Sat, 8 Mar 2025 19:30:09 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id CF2236B0082 for ; Sat, 8 Mar 2025 19:30:09 -0500 (EST) Received: from smtpin13.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id D3B35B9E95 for ; Sun, 9 Mar 2025 00:30:09 +0000 (UTC) X-FDA: 83200130538.13.0C3EDC6 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf21.hostedemail.com (Postfix) with ESMTP id 4002A1C0008 for ; Sun, 9 Mar 2025 00:30:08 +0000 (UTC) Authentication-Results: imf21.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=TtNcHS+Z; dmarc=none; spf=pass (imf21.hostedemail.com: domain of akpm@linux-foundation.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1741480208; 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=zYRs6rLqylf8pVo2dGy6dS9/FTl0NyWd7Z8xrAWguQU=; b=WBIj7PissKyrlr8tTwA0b8yZLKS/oSmqcYC0py0ulWE1nqeoc32F8xGYaRsEIyIbKKmkfz jlg+GM6UYgwq6TwzvSaDDnjqSLNOK1Bkkw+UczheLdjgn+h/nrDaRqGnweiIMkFnZa58Fn BRCa0alsh1pIMsc17ETWStNc9fm+9XQ= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1741480208; a=rsa-sha256; cv=none; b=FzvFUnaX8/rgl1F7Yh37Lv6y2xva0YkPRJnxtdny43Th/q/ZjJ+q98yv/+RkoB5uTGWJJv LbXojbDoE9WvovdF60wDBN/YiBhF+mAZQkfR96aniddnhs2ya407jTjdf7TlUmL8SJoGf8 kLBVE0/B8k4Mh1FrI06aqoROtHB/YoY= ARC-Authentication-Results: i=1; imf21.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=TtNcHS+Z; dmarc=none; spf=pass (imf21.hostedemail.com: domain of akpm@linux-foundation.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 6862A5C103F; Sun, 9 Mar 2025 00:27:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7CC48C4CEE0; Sun, 9 Mar 2025 00:30:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1741480206; bh=aMolwN56vF2dftuMD+Bec1QBO1irjOfXAUGJ0/PDgfk=; h=Date:From:To:Cc:Subject:From; b=TtNcHS+ZAaw0oWdNaW8cHdE6L5BWVwfSrp+G7KHXAmk6KNHui5BTmAzBqSIWR7lzE f9MdzCfACs6AAe0CwgLZIUSqDa2mwfyescncViNdfu8OaVXX5M9/xV3oUqfJndflPR 9h3Pza3QjWOpvaBnMUKD9rH5pu2ajb17cUDYLPlM= Date: Sat, 8 Mar 2025 16:30:05 -0800 From: Andrew Morton To: Linus Torvalds Cc: mm-commits@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: [GIT PULL] hotfixes for 6.14-rcc6 Message-Id: <20250308163005.6af4c2fc9651b33f4b0d326d@linux-foundation.org> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 X-Rspam-User: X-Rspamd-Queue-Id: 4002A1C0008 X-Rspamd-Server: rspam08 X-Stat-Signature: icsimsdsubdozj1rk7q68frg6i1jd7a1 X-HE-Tag: 1741480208-136835 X-HE-Meta: U2FsdGVkX1+f/W/HBz6C39BUvtR+9m2h6c3vHHMuUbXTuzboJ5wmDka3tPWC8GUygXi/aSHbNj18T+2Gnmw3G0epH69d4gYuxNJ8AjfAbwEPdzUt3tjO2lKJIEWoMvmQ1s4Ax61DxkwLWALWhhk7LY42uONNJ0SQ/YMudZqlWq9RD1U2azQdkFC9/PSPtJMhl4dvs5AHMUFDdbkDMT8A/m6H1l/PI+Q2nZQ0oXDQJStFPlKKrqxcoMoOgYjAFwoqHxiDHtcFNp3fNpjYvq+iJ6xYKnW4EsEVIKqkNKe4njmjuzZbP2APzkHfdZqg/6hYo/qjS31NZoZLdHMUfzAA7oJDl6imW9XpDSBdfdwzSfWyrJgwJVrsy1RswotgAoFl4uk7zarV11VlW82Y9fWuzZNMLIn4CLQNJ4pASxOR7D79nzbaxsArrbDMpkkInW6oi6irt4B8YV+9alwMLz7sjYdGmrRgaeb1x1LKQoecGAIq6YQBgqWNska/SHhnFHASnwidNbgIbpiKoMgT2sHJzgQOa5E0I68PHU5Pj70I8RZjS4ywG8B9E3SeA0jSh49p03GdZxBFPIhi+CT6cIyA0yrmU23Fgz2sM175uw9R7bGASAYCPSGHI18Q4E40blUUL4ahWJNPp7snkpQl5rM8uZp5cLFMSvo1ij/LXET7ZtZ8/X0GrF7FXArfW+umo78IZydnn0qzPikYwDDAmcIL6REQyg7kNrqZPhWc/if6IrgjaxyHZCmneflO8mlScpZrJr2HRtxwM6t1Yp8INYW8ci7v6q7MU6GrWRRTNWFIEOQs5VBE2uFqiemqLSP/dYdH/Ux2Brzf2WOflDT3agcSep758axxCbQLlLDEUIwhY2yEuL814oKnhAed0hMs6uwzbvVwrA2WLpQb5bKXHPN8+Je5LJ8IT/Ws5cTH6q4tvnJnTAh/DB9GloB7FTEVgYBaMOZgAmwUJCMgpy8XvA/ lvQxVin2 fM4jq6cIFInssrGm8N9vGp499g8eu3eG3nOaLYxaCkw9zpJXLb/1sKSv2VG8jpGiELvx0cVeoKgNZb0s3IQuytREsKwQtWz+peh+H4bI4hJnRGLlBw3qm/mWd3WdO+8euX4SdX3kl+dD+JWk6hW678YU8x7l7+8UMOaCMR+AJIdC21/tNtatFInNumcmhFJfBya2TDkyDxSxt5xkx4DRvQgIlaRBUoLeZeKsOj18ModI8wvF93oRGL6Gu/Wg5NNyenSfky3Gmx3ZccHt1AHLFADzi4A== 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, pleae merge this batch of hotfixes, thanks. The following changes since commit 8344017aaf32a7532cff293eb3df7fd2265ebafd: test_xarray: fix failure in check_pause when CONFIG_XARRAY_MULTI is not defined (2025-02-17 22:40:04 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm tags/mm-hotfixes-stable-2025-03-08-16-27 for you to fetch changes up to 8fe9ed44dc29fba0786b7e956d2e87179e407582: mm/page_alloc: fix uninitialized variable (2025-03-05 21:36:20 -0800) ---------------------------------------------------------------- 33 hotfixes. 24 are cc:stable and the remainder address post-6.13 issues or aren't considered necessary for -stable kernels. 26 are for MM and 7 are for non-MM. - "mm: memory_failure: unmap poisoned folio during migrate properly" from Ma Wupeng fixes a couple of two year old bugs involving the migration of hwpoisoned folios. - "selftests/damon: three fixes for false results" from SeongJae Park fixes three one year old bugs in the SAMON selftest code. The remainder are singletons and doubletons. Please see the individual changelogs for details. ---------------------------------------------------------------- Baolin Wang (1): mm: shmem: fix potential data corruption during shmem swapin Barry Song (1): mm: fix kernel BUG when userfaultfd_move encounters swapcache Brian Geffon (1): mm: fix finish_fault() handling for large folios Gabriel Krisman Bertazi (1): Revert "mm/page_alloc.c: don't show protection in zone's ->lowmem_reserve[] for empty zone" Ge Yang (1): mm/hugetlb: wait for hugetlb folios to be freed Hao Zhang (1): mm/page_alloc: fix uninitialized variable Haoxiang Li (3): m68k: sun3: add check for __pgd_alloc() rapidio: fix an API misues when rio_add_net() fails rapidio: add check for rio_add_net() in rio_scan_alloc_net() John Hubbard (1): Revert "selftests/mm: remove local __NR_* definitions" Kemeng Shi (3): mm: swap: add back full cluster when no entry is reclaimed mm: swap: use correct step in loop to wait all clusters in wait_for_allocation() mm, swap: avoid BUG_ON in relocate_cluster() Lorenzo Stoakes (1): mm: abort vma_modify() on merge out of memory failure Ma Wupeng (3): mm: memory-failure: update ttu flag inside unmap_poisoned_folio mm: memory-hotplug: check folio ref count first in do_migrate_range hwpoison, memory_hotplug: lock folio before unmap hwpoisoned folio Mike Snitzer (1): NFS: fix nfs_release_folio() to not deadlock via kcompactd writeback Qi Zheng (1): arm: pgtable: fix NULL pointer dereference issue Ricardo CaƱuelo Navarro (1): mm: shmem: remove unnecessary warning in shmem_writepage() Ryan Roberts (1): mm: don't skip arch_sync_kernel_mappings() in error paths Sebastian Andrzej Siewior (1): dma: kmsan: export kmsan_handle_dma() for modules SeongJae Park (4): selftests/damon/damos_quota_goal: handle minimum quota that cannot be further reduced selftests/damon/damos_quota: make real expectation of quota exceeds selftests/damon/damon_nr_regions: set ops update for merge results check to 100ms selftests/damon/damon_nr_regions: sort collected regiosn before checking with min/max boundaries Su Hui (1): include/linux/log2.h: mark is_power_of_2() with __always_inline Sumit Garg (1): MAINTAINERS: .mailmap: update Sumit Garg's email address Sun YangKai (1): mm: zswap: use ATOMIC_LONG_INIT to initialize zswap_stored_pages Suren Baghdasaryan (2): userfaultfd: do not block on locking a large folio with raised refcount userfaultfd: fix PTE unmapping stack-allocated PTE copies Ujwal Kundur (1): Documentation: fix doc link to fault-injection.rst gao xu (1): mm: fix possible NULL pointer dereference in __swap_duplicate .mailmap | 1 + MAINTAINERS | 6 +- arch/arm/mm/fault-armv.c | 37 +++++--- arch/m68k/include/asm/sun3_pgalloc.h | 6 +- drivers/rapidio/devices/rio_mport_cdev.c | 3 +- drivers/rapidio/rio-scan.c | 5 +- fs/nfs/file.c | 3 +- include/linux/compaction.h | 5 + include/linux/hugetlb.h | 5 + include/linux/log2.h | 2 +- include/linux/sched.h | 2 +- lib/Kconfig.debug | 2 +- mm/compaction.c | 3 + mm/hugetlb.c | 8 ++ mm/internal.h | 5 +- mm/kmsan/hooks.c | 1 + mm/memory-failure.c | 63 +++++++------ mm/memory.c | 21 +++-- mm/memory_hotplug.c | 26 +++--- mm/page_alloc.c | 4 +- mm/page_isolation.c | 10 ++ mm/shmem.c | 33 ++++++- mm/swapfile.c | 12 ++- mm/userfaultfd.c | 107 ++++++++++++++++++---- mm/vma.c | 12 ++- mm/vmalloc.c | 4 +- mm/zswap.c | 2 +- tools/testing/selftests/damon/damon_nr_regions.py | 2 + tools/testing/selftests/damon/damos_quota.py | 9 +- tools/testing/selftests/damon/damos_quota_goal.py | 3 + tools/testing/selftests/mm/hugepage-mremap.c | 2 +- tools/testing/selftests/mm/ksm_functional_tests.c | 8 +- tools/testing/selftests/mm/memfd_secret.c | 14 ++- tools/testing/selftests/mm/mkdirty.c | 8 +- tools/testing/selftests/mm/mlock2.h | 1 - tools/testing/selftests/mm/protection_keys.c | 2 +- tools/testing/selftests/mm/uffd-common.c | 4 + tools/testing/selftests/mm/uffd-stress.c | 15 ++- tools/testing/selftests/mm/uffd-unit-tests.c | 14 ++- 39 files changed, 348 insertions(+), 122 deletions(-)