From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796002129; b=Lt3KK0Lpyygihie9yPZkjruvqcr35Y218XlnnGM2PMEUvvBhkpCk8hphr8FjlWGXq1zO HCYISDnrIZQFmqRNU00mrUE2zDdJZL/iIZPRz42glHTdDiaDbfH8TL6oST/uANVwPM0y6 c1PWwGOoroUsiOuWxLt/LSeOWyA5jAQcHDSMJQGHGGos0ix/SsMWtrRDjHIzcIVmAH0KN BYMaLGEUdecru5rlH0J2aE3Xz0URH98jplqFfs3RNdIsO6SHCdp19ZCovk/mOOK4+iFe6 4R1nKwPEgPy3GgFeSeNPKGKuREYdzPgOlq0ufofTl4pagr2DIVFWdsEc7mE8rKdMxfQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796002129; h=Received:DKIM-Signature:Date:To:From:Subject:Message-Id; bh=DUtnRJ8GvvbjLuQeJAqCG54BnTycTI8Q9JEIB7vWxWs=; b=OxnFtKLvTWXw0JVoAAbmz1WVSWSrtP59G7NAZDVlV8fgVtbUcsc2jb04BDurVZXDD283 bfQ8myjy1ncCF+QyXWgJpHWClAB+w+/uKlHNGzRhJbcbbj7k5EQ8NdWU8xys6rNpJN47P pxUXmzmiEuf0gO+ewjt/+Py2D8NBYFcfYGjkgol8h/0kgWPpcb9Oef3rtjGJHo0fgmIeO ywRVi3ZuWzrdbQMzo1jFOcJWEa92qYIN5t9ED25Jzihglu6QynOZI3POTdJxFwSxB678U KWK5mNfY+pkvoxqnEJh4KPLEL5X5uwbDZWCbsuPKiwSsqBk92oQOZCZcSlByvJsRRDg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linux-foundation.org header.i=@linux-foundation.org header.a=rsa-sha256 header.s=korg header.b="d+aF2/3J"; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 86FCD606A31C for ; Mon, 30 Nov 2026 01:28:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.a=rsa-sha256 header.s=korg header.b=d+aF2/3J Received: by smtp.kernel.org (Postfix) with ESMTPSA id E169C1F00897; Mon, 30 Nov 2026 01:28:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=korg; t=1796002129; bh=DUtnRJ8GvvbjLuQeJAqCG54BnTycTI8Q9JEIB7vWxWs=; h=Date:To:From:Subject; b=d+aF2/3JIU856g8np5onxNDSGQPO56gBJwLP7N7PqLaOhzx9Fp6q06+Jr8pVOiNEo PTvTY3SYPEi5zOW2uTIT1ymwACv9YTTffA35ZWUatQ9LFCTGpFLpr9tMCKaC/IJ0pY /vL2L0CWTI5kJfNqCGwkps2HC3iEljYAtmC5361w= Date: Sun, 29 Nov 2026 17:28:48 -0800 To: mm-commits@vger.kernel.org,tj@kernel.org,shalasheg@gmail.com, dennis@kernel.org,cl@gentwo.org,akpm@linux-foundation.org From: Andrew Morton Subject: + percpu_ref-replace-the-global-switch-lock-with-hashed-locks-fix.patch added to mm-nonmm-unstable branch Message-Id: <20261130012848.E169C1F00897@smtp.kernel.org> X-Mailing-List: mm-commits@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list The patch titled Subject: percpu_ref-replace-the-global-switch-lock-with-hashed-locks-fix has been added to the -mm mm-nonmm-unstable branch. Its filename is percpu_ref-replace-the-global-switch-lock-with-hashed-locks-fix.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/percpu_ref-replace-the-global-switch-lock-with-hashed-locks-fix.patch This patch will later appear in the mm-nonmm-unstable branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next via various branches at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there most days ------------------------------------------------------ From: Andrew Morton Subject: percpu_ref-replace-the-global-switch-lock-with-hashed-locks-fix Date: Sun Nov 29 05:26:06 PM PST 2026 include log2.h for ilog2() Signed-off-by: Andrew Morton Cc: Christoph Lameter Cc: Dennis Zhou Cc: Egor Shalashnov Cc: Tejun Heo lib/percpu-refcount.c | 1 + 1 file changed, 1 insertion(+) --- a/lib/percpu-refcount.c~percpu_ref-replace-the-global-switch-lock-with-hashed-locks-fix +++ a/lib/percpu-refcount.c @@ -6,6 +6,7 @@ #include #include #include +#include #include #include #include _ Patches currently in -mm which might be from akpm@linux-foundation.org are mm-vma-drop-mm-asynchronously-in-vma_start_read-fix.patch mm-vma-drop-mm-asynchronously-in-vma_start_read-fix-2.patch kselftest-mm-rename-read_pmd_pagesize-to-pmd_psize-fix.patch selftests-mm-check-madv_cold-and-madv_pageout-on-partly-advised-thps-fix.patch selftests-mm-add-uffdio_move-huge-zeropage-pmd-regression-test-fix.patch selftests-mm-allocate-nr_pages-based-on-pmd-size-for-uffd-pmd_move-tests-fix.patch selftests-mm-retain-move-pmd-coverage-and-verify-huge-pmds.patch lib-test_xarray-check-unused-spare-node-after-range-creation.patch mm-memory-failure-dont-unpoison-a-leaked-raw_hwp_unreliable-folio-fix.patch mm-hugetlb-delay-anon-folio-rmap-removal-until-after-the-tlb-flush-fix.patch mm-hugetlb-delay-anon-folio-rmap-removal-until-after-the-tlb-flush-fix-2.patch mm-vmstat_kunit-add-synthetic-benchmark-for-mm-stats-fix.patch mm-prevent-pre-content-bypass-through-mremap-and-remap_file_pages.patch afs-do-not-put-error-pointer-after-address-lookup-failure.patch selftests-mm-check-that-fsync-reports-hard-poisoned-dirty-page-cache.patch selftests-mm-memory-failure-truncate-poisoned-fuse-page-cache-before-teardown.patch selftests-mm-memory-failure-skip-poisoned-dirty-page-cache-on-nilfs2.patch selftest-mm-memory-failure-keep-page-cache-files-linked-until-cleanup.patch selftest-mm-memory-failure-keep-page-cache-files-linked-until-cleanup-fix.patch selftests-mm-memory-failure-skip-hard-dirty-page-cache-test-on-cephfs.patch selftests-mm-memory-failure-close-dirty-page-cache-files-before-unlinking-them.patch selftests-mm-memory-failure-extend-page-cache-test-files-with-pwrite.patch selftests-mm-memory-failure-write-the-whole-page-cache-test-file-for-omfs.patch selftests-mm-memory-failure-accept-eio-from-close-after-poisoning-dirty-data.patch alloc_tag-introduce-ioctls-to-toggle-allocation-tracepoints-fix-fix.patch alloc_tag-introduce-ioctls-to-toggle-allocation-tracepoints-fix.patch mm-vmscan-scope-freeze-writeback-skip-to-the-reclaim-target.patch mm-vmscan-scope-freeze-writeback-skip-to-the-reclaim-target-fix.patch mm-hmm-refuse-secretmem-vmas-in-hmm_range_fault-fix.patch ocfs2-unregister-the-jbd2-shrinker-before-journal-shutdown.patch ipc-msg-clamp-negative-msg_info-usage-counts.patch squashfs-fix-leaked-page-locks-when-page-actor-allocation-fails-fix.patch ocfs2-skip-network-flush-when-no-domain-handlers-are-registered.patch selftests-ptrace-check-that-ptrace_set_syscall_info-rejects-invalid-error-values-fix.patch lib-atomic64-separate-hashed-locks-by-smp-cache-line.patch nvdimm-btt-separate-map-locks-by-smp-cache-line.patch percpu_ref-replace-the-global-switch-lock-with-hashed-locks-fix.patch kernfs-fix-a-race-on-the-count-of-mmapped-files.patch kernfs-path-lookup-scalability-improvements.patch kernfs-path-lookup-scalability-improvements-fix.patch kernfs-make-getattr-lockless.patch kernfs-make-getattr-lockless-fix.patch kernfs-open-and-close-plain-files-without-the-open-file-mutex.patch kernfs-keep-the-kernfs_open_node-for-a-while-after-the-last-close.patch kernfs-open-and-close-files-with-release-without-the-open-file-mutex.patch drivers-media-v4l2-core-v4l2-vp9c-reduce-inlining.patch