All of lore.kernel.org
 help / color / mirror / Atom feed
* [folded-merged] mm-memory_failure-fix-the-missing-pte_unmap-call-fix.patch removed from -mm tree
@ 2021-09-24 22:31 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2021-09-24 22:31 UTC (permalink / raw)
  To: akpm, david, mm-commits, naoya.horiguchi, songmuchun, zhengqi.arch


The patch titled
     Subject: mm-memory_failure-fix-the-missing-pte_unmap-call-fix
has been removed from the -mm tree.  Its filename was
     mm-memory_failure-fix-the-missing-pte_unmap-call-fix.patch

This patch was dropped because it was folded into mm-memory_failure-fix-the-missing-pte_unmap-call.patch

------------------------------------------------------
From: Andrew Morton <akpm@linux-foundation.org>
Subject: mm-memory_failure-fix-the-missing-pte_unmap-call-fix

cleanup

Cc: David Hildenbrand <david@redhat.com>
Cc: Muchun Song <songmuchun@bytedance.com>
Cc: Naoya Horiguchi <naoya.horiguchi@nec.com>
Cc: Qi Zheng <zhengqi.arch@bytedance.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 mm/memory-failure.c |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

--- a/mm/memory-failure.c~mm-memory_failure-fix-the-missing-pte_unmap-call-fix
+++ a/mm/memory-failure.c
@@ -330,11 +330,8 @@ static unsigned long dev_pagemap_mapping
 	if (pmd_devmap(*pmd))
 		return PMD_SHIFT;
 	pte = pte_offset_map(pmd, address);
-	if (!pte_present(*pte))
-		goto unmap;
-	if (pte_devmap(*pte))
+	if (pte_present(*pte) && pte_devmap(*pte))
 		ret = PAGE_SHIFT;
-unmap:
 	pte_unmap(pte);
 	return ret;
 }
_

Patches currently in -mm which might be from akpm@linux-foundation.org are

mm-memory_failure-fix-the-missing-pte_unmap-call.patch
mm.patch
mm-mempolicy-convert-from-atomic_t-to-refcount_t-on-mempolicy-refcnt-fix.patch
ipc-check-checkpoint_restore_ns_capable-to-modify-c-r-proc-files-fix.patch
kernel-forkc-export-kernel_thread-to-modules.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-24 22:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-24 22:31 [folded-merged] mm-memory_failure-fix-the-missing-pte_unmap-call-fix.patch removed from -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.