From patchwork Tue Oct 29 05:37:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Morton X-Patchwork-Id: 13854374 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 361D8D5B874 for ; Tue, 29 Oct 2024 05:37:43 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 99B306B00BA; Tue, 29 Oct 2024 01:37:42 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 8FD7D6B00BB; Tue, 29 Oct 2024 01:37:42 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 776686B00BC; Tue, 29 Oct 2024 01:37:42 -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 534E56B00BA for ; Tue, 29 Oct 2024 01:37:42 -0400 (EDT) Received: from smtpin02.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id D0872160E30 for ; Tue, 29 Oct 2024 05:37:41 +0000 (UTC) X-FDA: 82725532470.02.404B3DB Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf03.hostedemail.com (Postfix) with ESMTP id 02C152000C for ; Tue, 29 Oct 2024 05:37:28 +0000 (UTC) Authentication-Results: imf03.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=1cp70fGU; spf=pass (imf03.hostedemail.com: domain of akpm@linux-foundation.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org; dmarc=none ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1730180180; a=rsa-sha256; cv=none; b=1CDDBgwuxW3uNWN3/qZW1YOoI8qBja3OGEvL3hCJQn7HhluRIM/kjFDUz6CLaLf4xMNzqf ts5yDamTiwX3Pb5cBTzViZ54sF8Y1jrj3YR5nPSotqAwEZdaHTVh9BaO0EFuJJt8wJiJ8j KiNzzq9Fq20NK/egU4orHIrrvo0ChhQ= ARC-Authentication-Results: i=1; imf03.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=1cp70fGU; spf=pass (imf03.hostedemail.com: domain of akpm@linux-foundation.org designates 139.178.84.217 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=1730180180; 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=dy7hymD4vSWjZvlojlP5lKpDZEg/QCqRzhACO0M8rZw=; b=AuOq3QX5mKDJYSpmwvbpBT9A9dbG09i7pTz2zykWU9qkDsNl36o3xw5z69Tn4AUpXrl0Ap X+UMpa3rjQnhqyNUmaZ6HY5AGE+rlZStTTYfBzq94cxJudbwyivi+ND4gyi6wc3IbGXGyu lXcTrr3Tkuwyjh/do8HZ3ixG2nhO1UA= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 302F85C56A1; Tue, 29 Oct 2024 05:36:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BB5C1C4CECD; Tue, 29 Oct 2024 05:37:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1730180258; bh=9olqVLoMvTGZUqCXXqNqiQq4o9I68NSlUNbLAjZFeiI=; h=Date:From:To:Cc:Subject:From; b=1cp70fGUVDTp42ha/Kg3lV86GDHc+82sK19N0SCeBYmd3/OaxelhpoF9AEb9qjg5Q F0olHnxOMqtoahWLwzQrp540EV2cHcQsfWIvOqsVce2PypCdSl+tRtRt+A3bD1ialP HbWDwBeBLr7SB48Jbr5R5K6h5ka/b+YiJi9IDCKI= Date: Mon, 28 Oct 2024 22:37:38 -0700 From: Andrew Morton To: Linus Torvalds Cc: linux-mm@kvack.org, mm-commits@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL V2] hotfixes for 6.12-rc6 Message-Id: <20241028223738.bb14a8723e947d40f3711007@linux-foundation.org> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 X-Stat-Signature: 6zsnqbtdhq8496ao4hpc6yha9yi61g71 X-Rspamd-Queue-Id: 02C152000C X-Rspam-User: X-Rspamd-Server: rspam10 X-HE-Tag: 1730180248-2673 X-HE-Meta: U2FsdGVkX18UCAmbmStVAHAnK54kbPrOLYh1KSCGwy0wjcM0torH+pSPGl+At/BvYn/MRVq8jsdTtqYQr0vV3ECcwgnvUyV1wXSfTbOThCryp2Qu8O5UiyEjBWQEzWsqLeTkGjSJBoL6EbIy/u7LGU3oLlDIX+16pCuBCAF4swbr11zOjLrE4hqbgmrViIjRWZeLnm0g3MkFW4FCXBbIFdDXo6GboxRJOqs8QGzO/pGYl2pjoJWslMKsORFp8/tiLNrNRxCjLA6DTc35arAhP9bl34pD3dqI+xxRug8uoh16/exjq3IB8JNUHDBBhmPmM1SsR3LCZspPpPOp6GIITB4zFKD5Izp/3O2pAzEVnMPhQSjXotzgbN/0icSisC+054ZdO1Nr6Bn8TspvIBhF1aWlfcW/2+HmbNOZeI/mNllRKZvJIfjhEk0YI5UsZyGBZ/Tb9mJj4Vtr4QQAPpouWgIVpTGZDCy3VFWIYyjsG3krZXyYncSUuIxz76RDBk/eo7u+VqIvrGWcYX8av5kOynrJqHRDgeChwrMfoVYT7MRSjVCJIxVcTTNuz3RN2pznel1zqcQFx18rwGPdZu4Z6YO9Hdhd++BIhBGMNoo0X+An5UTDN2YCAeoU56nKJWRWdMrKh5UfVS4YbAne+yKkxeA2yft3rmI2Qkwp5k2tEEekPBJkDw/zZx+gm2oWyby/u3KretZnO1fSaoih8rNrfmseX4v2rTbD3e37b3evOKsQsLGBiFs/tnaRAUzlE56qaxobZKNrFb1Y3agkRPKZIPpHkLTjZjTgFfXrk1fU9UC5mXulVi5bccgmg3fF4McAd7GGznFi+qu2InT2lkrNgNDLbjpFnoQOl5wCw809ZNT0J4xr6vQy1DEWDmCv9Gk1+RtMPwWLwetwQwEpo0MEvB+thlLJGecuhtxLISWTSun3+xXnQ8c/WAJmQ5VTeQ8AufdhqKdBcGx1SAUL8Tv qk8wtqf+ RhPoZLMTczq97Dls8g2+1ORHOTXsear6Dyr1F6g+zuCMg1q2oMYVGv/1H/3AJHAKzYoswRD9h+i5L1pR9wplkA+48Sd4T60LUQ38dlXvOUi3VrJbV+/2XLzPajm2gDRrx4TIdjktJH5e9nOyq+dDfuxoIPkko95N9qdVJR+O9IGWkJJyB3xivlb+qGkkmc8L2KLgee1Jn8AcYvAwiwYwzGy4rlOp41P8Y8G2Ta353vNWOrhao4pMU7l5gogV1IYJ0XCsy+zvyC6c2i4XeKNAST+I/Og== 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 81983758430957d9a5cb3333fe324fd70cf63e7e: Linux 6.12-rc5 (2024-10-27 12:52:02 -1000) 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-21-50 for you to fetch changes up to 01626a18230246efdcea322aa8f067e60ffe5ccd: mm: avoid unconditional one-tick sleep when swapcache_prepare fails (2024-10-28 21:40:41 -0700) ---------------------------------------------------------------- 21 hotfixes. 13 are cc:stable. 13 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() 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/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 ++++ 22 files changed, 386 insertions(+), 252 deletions(-)