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=1796342831; b=Nm1CQsSJoZ+3t3Gb47o0u2miVUcWZx8gbmqJTRLwCvAwbrieUOnY31ZEpmcZnepa2v6Y vRNMGlmndkVH1gnIT5kqA4U9X1FcL6s/66Jr5kNL/s0MPOVYfMDedakLERcktKj+YXDe1 kjK97H+pD/abcOylEbwKGIx5SIIEf2vboQ3i4VGwop59waeqmIKymaVDDQQddM+f/y2j/ iTvznQgrp1rEetl5yR3V9MAQ2NZ5zwPeUQ5tIVWoCC8VNyySDI6Y0XQVz/rS2reqC271t kPXUyjWVuG/mbnOhQrrVtuEHH8/Cfiyiwh3WjLfXsgsELVhZ7ENJcKGdeIeUwmQPwlA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796342831; h=Received:DKIM-Signature:Date:To:From:In-Reply-To:References:Subject: Message-Id; bh=0TQORN+XN3jbCQsa2REzY77yJ+0pTDNu6BfQmUX5uWM=; b=em9lA/hf1R9EGDMkveRN1iuwdrZfWcmiSBELiL1h+mV4uJiKL1D3d1ZWyU7OzKZVmlXv lDN6UPUWz4rWvHbxhIKIdasmdeRiUm0X7rXfN4/q9++af9yfdhCc6moBTH2000of7l6lj eefMeER/r9MSREQ/CTlxrZOHDYjNN6ddykAMlwcCE4m4kBKK5z5Ua8byyx+knqghDKcxT Y/8MTW6vCSq47EzxMdGvLJujp12IyEu8yxmmi7LCNzoVBMBP0u22lXAfYoGEcP7vTMVc1 3HLGnJCIXDk2J9KVTIVbUgGyuqmNuAfrik9Uv2/eOujiUGhr+Bvnl3GA6GcAQSFlJdw== 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=ayf3MrSV; 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 078A3606A69E for ; Fri, 4 Dec 2026 00:07:11 +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=ayf3MrSV Received: by smtp.kernel.org (Postfix) with ESMTPSA id C44D71F000CE; Fri, 4 Dec 2026 00:07:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=korg; t=1796342830; bh=0TQORN+XN3jbCQsa2REzY77yJ+0pTDNu6BfQmUX5uWM=; h=Date:To:From:In-Reply-To:References:Subject; b=ayf3MrSV9t6tNIR4wUJpM4J/BJ0lZMNDPubQYWXHZZGOC9doErRYJjTD1GIiow0BW UpOys1/kjz0PtQBjEWaGsM9BPhpmhuMiFfK6l1TS/urZfv8QTVM4wX7eNl4dRfw1x1 xUmyPDwC/FF6nBTWti8kR/ZOLeQkflbJKom3XjSE= Date: Thu, 03 Dec 2026 16:07:10 -0800 To: mm-commits@vger.kernel.org,david@kernel.org,akpm@linux-foundation.org From: Andrew Morton In-Reply-To: <20261116-fixes_hugetlb-v2-15-4dd9e94ea9ac@kernel.org> References: <20261116-fixes_hugetlb-v2-15-4dd9e94ea9ac@kernel.org> Subject: [folded-merged] mm-hugetlb-delay-anon-folio-rmap-removal-until-after-the-tlb-flush-fix-2.patch removed from -mm tree Message-Id: <20261204000710.C44D71F000CE@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 quilt patch titled Subject: mm/huge_memory: pass false to __tlb_remove_page_size() has been removed from the -mm tree. Its filename was mm-hugetlb-delay-anon-folio-rmap-removal-until-after-the-tlb-flush-fix-2.patch This patch was dropped because it was folded into mm-hugetlb-delay-anon-folio-rmap-removal-until-after-the-tlb-flush.patch ------------------------------------------------------ From: Andrew Morton Subject: mm/huge_memory: pass false to __tlb_remove_page_size() Date: Fri, 27 Nov 2026 14:38:54 -0800 "mm/hugetlb: delay anon folio rmap removal until after the TLB flush" adds a delay_rmap argument to __tlb_remove_page_size(), but misses the call in zap_huge_pmd_folio(). This breaks the build. Pass false. zap_huge_pmd_folio() removes the PMD rmap itself, either before queueing the page or after its explicit TLB flush when handling a dirty file-backed PMD. Passing true would also queue the rmap for removal by tlb_flush_rmaps(), removing it twice. Link: https://lore.kernel.org/r/20261116-fixes_hugetlb-v2-15-4dd9e94ea9ac@kernel.org Signed-off-by: Andrew Morton Cc: David Hildenbrand (Arm) mm/huge_memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/mm/huge_memory.c~mm-hugetlb-delay-anon-folio-rmap-removal-until-after-the-tlb-flush-fix-2 +++ a/mm/huge_memory.c @@ -2543,7 +2543,7 @@ static void zap_huge_pmd_folio(struct mm /* Device private folios are pinned and don't need a TLB flush. */ if (is_device_private) folio_put(folio); - else if (__tlb_remove_page_size(tlb, &folio->page, HPAGE_PMD_SIZE)) + else if (__tlb_remove_page_size(tlb, &folio->page, HPAGE_PMD_SIZE, false)) *force_flush = true; if (delay_rmap) { _ Patches currently in -mm which might be from akpm@linux-foundation.org are 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-retain-move-pmd-coverage-and-verify-huge-pmds.patch lib-test_xarray-check-unused-spare-node-after-range-creation.patch mm-hugetlb-delay-anon-folio-rmap-removal-until-after-the-tlb-flush.patch mm-vmstat_kunit-add-synthetic-benchmark-for-mm-stats-fix.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 mm-huge_memory-set-memcg_data-before-a-split-page-leaves-the-folio-fix.patch xarray-fix-index-jumping-backwards-in-xas_find_marked-fix.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 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 afs-do-not-put-error-pointer-after-address-lookup-failure.patch drivers-media-v4l2-core-v4l2-vp9c-reduce-inlining.patch