mm-rmap-fix-two-comments-related-to-huge_pmd_unshare.patch removed from -mm tree
The quilt patch titled
Subject: mm/rmap: fix two comments related to huge_pmd_unshare()
has been removed from the -mm tree. Its filename was
mm-rmap-fix-two-comments-related-to-huge_pmd_unshare.patch
This patch was dropped because it was merged into the mm-hotfixes-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: "David Hildenbrand (Red Hat)" <[email protected]>
Subject: mm/rmap: fix two comments related to huge_pmd_unshare()
Date: Tue, 23 Dec 2025 22:40:36 +0100
PMD page table unsharing no longer touches the refcount of a PMD page table. Also, it is not about dropping the refcount of a "PMD page" but the "PMD page table".
Let's just simplify by saying that the PMD page table was unmapped, consequently also unmapping the folio that was mapped into this page.
This code should be deduplicated in the future.
---
mm/rmap.c | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-)
mm/rmap.c renamed from mm/rmap.c~mm-rmap-fix-two-comments-related-to-huge_pmd_unshare +4 -16
@@ -2016,14 +2016,8 @@ static bool try_to_unmap_one(struct foliflush_tlb_range (vma, range.start, range.end);/* -* The ref count of the PMD page was -* dropped which is part of the way map -* counting is done for shared PMDs. -* Return 'true' here. When there is -* no other sharing, huge_pmd_unshare -* returns false and we will unmap the -* actual page and drop map count -* to zero. +* The PMD table was unmapped, +* consequently unmapping the folio. */ goto walk_done; }
@@ -2416,14 +2410,8 @@ static bool try_to_migrate_one(struct fo range.start, range.end);/* -* The ref count of the PMD page was -* dropped which is part of the way map -* counting is done for shared PMDs. -* Return 'true' here. When there is -* no other sharing, huge_pmd_unshare -* returns false and we will unmap the -* actual page and drop map count -* to zero. +* The PMD table was unmapped, +* consequently unmapping the folio. */ page_vma_mapped_walk_done (&pvmw);break ;
_
Patches currently in -mm which might be from [email protected] are
vmw_balloon-adjust-balloon_deflate-when-deflating-while-migrating.patch vmw_balloon-remove-vmballoon_compaction_init.patch powerpc-pseries-cmm-remove-cmm_balloon_compaction_init.patch mm-balloon_compaction-centralize-basic-page-migration-handling.patch mm-balloon_compaction-centralize-adjust_managed_page_count-handling.patch vmw_balloon-stop-using-the-balloon_dev_info-lock.patch mm-balloon_compaction-use-a-device-independent-balloon-list-lock.patch mm-balloon_compaction-remove-dependency-on-page-lock.patch mm-balloon_compaction-make-balloon_mops-static.patch mm-balloon_compaction-drop-fsh-include-from-balloon_compactionh.patch drivers-virtio-virtio_balloon-stop-using-balloon_page_push-pop.patch mm-balloon_compaction-remove-balloon_page_push-pop.patch mm-balloon_compaction-fold-balloon_mapping_gfp_mask-into-balloon_page_alloc.patch mm-balloon_compaction-move-internal-helpers-to-balloon_compactionc.patch mm-balloon_compaction-assert-that-the-balloon_pages_lock-is-held.patch mm-balloon_compaction-mark-remaining-functions-for-having-proper-kerneldoc.patch mm-balloon_compaction-remove-extern-from-functions.patch mm-vmscan-drop-inclusion-of-balloon_compactionh.patch mm-rename-balloon_compactionch-to-balloonch.patch mm-kconfig-make-balloon_compaction-depend-on-migration.patch mm-rename-config_balloon_compaction-to-config_balloon_migration.patch mm-rename-config_memory_balloon-config_balloon.patch maintainers-move-memory-balloon-infrastructure-to-memory-management-balloon.patch maintainers-move-memory-balloon-infrastructure-to-memory-management-balloon-fix.patch