mm-memory-failure-use-folio_mapcount-in-hwpoison_user_mappings.patch removed from -mm tree
The quilt patch titled
Subject: mm/memory-failure: use folio_mapcount() in hwpoison_user_mappings()
has been removed from the -mm tree. Its filename was
mm-memory-failure-use-folio_mapcount-in-hwpoison_user_mappings.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: David Hildenbrand <[email protected]>
Subject: mm/memory-failure: use folio_mapcount() in hwpoison_user_mappings()
Date: Tue, 9 Apr 2024 21:22:52 +0200
We want to limit the use of page_mapcount() to the places where it is absolutely necessary. We can only unmap full folios; page_mapped(), which we check here, is translated to folio_mapped() -- based on folio_mapcount(). So let's print the folio mapcount instead.
---
mm/memory-failure.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
mm/memory-failure.c renamed from mm/memory-failure.c~mm-memory-failure-use-folio_mapcount-in-hwpoison_user_mappings +2 -2
@@ -1634,8 +1634,8 @@ static bool hwpoison_user_mappings(struc unmap_success = !page_mapped (p);if (!unmap_success) -pr_err ("%#lx: failed to unmap page (mapcount=%d)\n" , - pfn,page_mapcount (p)); +pr_err ("%#lx: failed to unmap page (folio mapcount=%d)\n" , + pfn,folio_mapcount (page_folio (p)));/* * try_to_unmap() might put mlocked page in lru cache, so call
_
Patches currently in -mm which might be from [email protected] are