From patchwork Tue Oct 29 03:37:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Morton X-Patchwork-Id: 13854364 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 479B0D5B865 for ; Tue, 29 Oct 2024 03:37:48 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id C22AC6B00B8; Mon, 28 Oct 2024 23:37:47 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id BD20D6B00BA; Mon, 28 Oct 2024 23:37:47 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A726D6B00BF; Mon, 28 Oct 2024 23:37:47 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 8740B6B00B8 for ; Mon, 28 Oct 2024 23:37:47 -0400 (EDT) Received: from smtpin06.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 30A52AB505 for ; Tue, 29 Oct 2024 03:37:47 +0000 (UTC) X-FDA: 82725229650.06.DDA102C Received: from nyc.source.kernel.org (nyc.source.kernel.org [147.75.193.91]) by imf01.hostedemail.com (Postfix) with ESMTP id 85F6C40007 for ; Tue, 29 Oct 2024 03:37:26 +0000 (UTC) Authentication-Results: imf01.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=m3IlS4Py; spf=pass (imf01.hostedemail.com: domain of akpm@linux-foundation.org designates 147.75.193.91 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=1730172986; 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=FohHPW4KYJJCua5dr8M1k/gNXxVXmM5E31qALa8ywYw=; b=KGFrVfjvcQrOrm3Gx9SniP+V8B822cy+HalE4dVg06LIRHt9RXc/0meWnpeBCeR/g13hCg Ey2tAdLAkEy2rtZXKArtw4vraaOYzFdjV+p3/o578nvrnFRhoQMYT9I9RT5eECmj6m42mI kaanLZw3pZ7VP24tcAFiBg98y5u56zA= ARC-Authentication-Results: i=1; imf01.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=m3IlS4Py; spf=pass (imf01.hostedemail.com: domain of akpm@linux-foundation.org designates 147.75.193.91 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org; dmarc=none ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1730172986; a=rsa-sha256; cv=none; b=MOMr3XcX6rR0ytr1otOGO+RojF8470qPepEy5nyVRFjQ6JpDGN0ed1bzQ39Gef+fLCCFjP 7qx0wlCE29W++EThzOJux2Havi4LfSPUsDJm6dGskeoXeYwDhwwc/f0M8o/bX6Ipk2n30A MR23LKlG0mbwAsPhVeWSgV3lO2k4by8= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id D10CDA4156D; Tue, 29 Oct 2024 03:35:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 59700C4CECD; Tue, 29 Oct 2024 03:37:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1730173064; bh=h7Mxw7eXmfgYdg48xlrXyjMjaIH5ef1xEQhP+Jonl6E=; h=Date:From:To:Cc:Subject:From; b=m3IlS4Py60gth7l9f0ToJfx16snNkfBWPqFNBFgaLjUhZCnjsLPDspKff+PNcOw2n /JMNa0Q/Xyql0NDx+43bEgnZy8pnYUdEDX8rBv55OuTSyO+nCRtJRcql5uM6a1ovOO Tv1+cIW/3rhgMZuZxxo0ufyXCjA6A4F6Gqmm/GY0= Date: Mon, 28 Oct 2024 20:37:43 -0700 From: Andrew Morton To: Linus Torvalds Cc: mm-commits@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] hotfixes for 6.12-rc6 Message-Id: <20241028203743.3fe4d95463aaafe23a239b51@linux-foundation.org> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 X-Rspamd-Server: rspam03 X-Rspam-User: X-Rspamd-Queue-Id: 85F6C40007 X-Stat-Signature: g866r4hndxzchksgtoz46x5kwd6jkjyn X-HE-Tag: 1730173046-98529 X-HE-Meta: U2FsdGVkX1+Fdgff/zSLtcaDCCyeVQcny9pHeqG+9NSQJvWwIawP95nnDGe7vB//223aUo5Eg1Txl1hQvbpPKIKF/N1T1GYbaca3jYfWBQqVQlKusM/wDf6Zwh7p/R9K5EhGzJKojChhT7D1afvLjAlyXxGDrfTKWxdNABp9+TQkDClPxt0CsVn7KFmD/UTC3owFB7aPqXa+/0jALHDCcp9bmGynb+ITyhtoHYKDFNj5UCNEkGFVDhm5fLKUyH6xTnpHGov5yli98aoRdon5RYrzPokL21EyagB5ogfe/dGsn5LSiwg288lp9QdEEJMsCCnDjTu0Ufr/JtPttJHu86z72JvC1eigiaykGitlUtSzTb5nOKGYISfLvbWFprDybs1H76YuFbi/mIMy7UYkeFLxPZq3eWN4J9m+aXdQiPFQHqOlv7tRUMWjHul7SwqPF5adL+zS6B+LPbi4l9O0VXrl/Mhxv+fURYECskBfVOomBmxudI7faKWEPefpIt5yT4hpFaQPoXnhwLktnAU9IQkdrBcWkPHiN6jr1lNWRcTDsWzrJy0gMW1gqfJ8tIG2IT+TlTQRIvArN9R+z/DxNxi1xKI3im4KLYztd05CkFlehXlwE9grNjEAia3RkbWehHo/HVmXyhO+WKnpCNm5T4LTr5M8WdKNhvpMMR8Q4oK/1fXtSMW9hBKhrtw+wE9D9yXIERuQ1bkBlf65qAd3EzbgeNeeE4D9lBuav7jjdGBqqgia4tG0NGHKbG+KbDRjf2v5PWQsfIA6p1244ooY4zH9Nedr2Ke6lMXHx65IN0pAAEMSJGdKh99ltejlsiXIrwtEuFaH2ZMQk0mcMQWw/J26VZOD6t5muKElUVXbMxVnQ9eD/jr1URTp0VgV+COwUM6xKkKSYNSu0yaf09WjGeLylTGX1Ry9swFrDQTBuR1ezU9ZsTN9Y3hWLasDOz923vX7OSRh5IT/LoHibg7 7Pnlt5Ow Cv7RLp3yBH6aVwHGuUlaolLKgHfV/8qYkqzL6Hr7dsiINZRni+NZCvjj2ZIhcOmAeymqb25JJj/aYtvSeMs8mqWOWvFAPSkvd05FXv+9w5rkx2ZSKh6NrQDbG4DZfc9uUmbmx/NTRRBFkUvopGt7R0/LSj1XNomKtxX/WtU+4IQ77PFQPWZnL2h4e69f+0HmWE/gw/GlhwksqFdkpoy0EsmK58dKUkhSWqyZU+Uiv/oXKr0KSmUoxacfhPGssVa4SyJW97sFFf5//nDKZFFK7Kcl/Sw== 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 batch of hotfixes, thanks. The following changes since commit 42f7652d3eb527d03665b09edac47f85fb600924: Linux 6.12-rc4 (2024-10-20 15:19:38 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm tags/mm-hotfixes-stable-2024-10-28-20-32 for you to fetch changes up to d7adb730fe497970555350e496478b243b5c7ec5: mm: avoid unconditional one-tick sleep when swapcache_prepare fails (2024-10-25 17:14:18 -0700) ---------------------------------------------------------------- 23 hotfixes. 13 are cc:stable. 15 are MM and 8 are non-MM. No particular theme here - mainly singletons, a couple of doubletons. Please see the changelogs. ---------------------------------------------------------------- Barry Song (1): mm: avoid unconditional one-tick sleep when swapcache_prepare fails David Hildenbrand (1): mm/pagewalk: fix usage of pmd_leaf()/pud_leaf() without present check Edward Adam Davis (1): ocfs2: pass u64 to ocfs2_truncate_inline maybe overflow Edward Liaw (3): Revert "selftests/mm: fix deadlock for fork after pthread_create on ARM" Revert "selftests/mm: replace atomic_bool with pthread_barrier_t" selftests/mm: fix deadlock for fork after pthread_create with atomic_bool Gregory Price (1): resource,kexec: walk_system_ram_res_rev must retain resource flags Huang Ying (1): resource: remove dependency on SPARSEMEM from GET_FREE_REGION Jann Horn (1): mm: mark mas allocation in vms_abort_munmap_vmas as __GFP_NOFAIL Jeff Xu (1): mseal: update mseal.rst Jeongjun Park (1): mm: shmem: fix data-race in shmem_getattr() John Hubbard (2): mm/gup: stop leaking pinned pages in low memory conditions mm/gup: memfd: stop leaking pinned pages in low memory conditions Kirill A. Shutemov (1): mm: split critical region in remap_file_pages() and invoke LSMs in between Liam R. Howlett (1): mm/mmap: fix race in mmap_region() with ftruncate() Lorenzo Stoakes (4): fork: do not invoke uffd on fork if error occurs fork: only invoke khugepaged, ksm hooks if no error mm/vma: add expand-only VMA merge mode and optimise do_brk_flags() tools: testing: add expand-only mode VMA test Matt Fleming (1): mm/page_alloc: let GFP_ATOMIC order-0 allocs access highatomic reserves Nobuhiro Iwamatsu (1): mm: numa_clear_kernel_node_hotplug: Add NUMA_NO_NODE check for node id Ryusuke Konishi (1): nilfs2: fix kernel bug due to missing clearing of checked flag Sabyrzhan Tasbolatov (1): x86/traps: move kmsan check after instrumentation_begin Documentation/userspace-api/mseal.rst | 307 +++++++++++++-------------- arch/x86/kernel/traps.c | 12 +- fs/nilfs2/page.c | 1 + fs/ocfs2/file.c | 8 + fs/userfaultfd.c | 28 +++ include/linux/ksm.h | 10 +- include/linux/userfaultfd_k.h | 5 + kernel/fork.c | 12 +- kernel/resource.c | 4 +- mm/Kconfig | 1 - mm/gup.c | 52 +++-- mm/memory.c | 15 +- mm/mmap.c | 84 ++++++-- mm/numa_memblks.c | 2 +- mm/page_alloc.c | 10 +- mm/pagewalk.c | 16 +- mm/shmem.c | 2 + mm/vma.c | 23 +- mm/vma.h | 26 ++- tools/testing/selftests/mm/uffd-common.c | 5 +- tools/testing/selftests/mm/uffd-common.h | 3 +- tools/testing/selftests/mm/uffd-unit-tests.c | 24 +-- tools/testing/vma/vma.c | 40 ++++ 23 files changed, 419 insertions(+), 271 deletions(-)