[folded-merged] mmhwpoison-send-sigbus-with-error-virutal-address-fix.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: mmhwpoison-send-sigbus-with-error-virutal-address-fix
has been removed from the -mm tree.  Its filename was
     mmhwpoison-send-sigbus-with-error-virutal-address-fix.patch

This patch was dropped because it was folded into mmhwpoison-send-sigbus-with-error-virutal-address.patch

------------------------------------------------------
From: Naoya Horiguchi <naoya.horiguchi@xxxxxxx>
Subject: mmhwpoison-send-sigbus-with-error-virutal-address-fix

walk_page_range() got to return 1 when it found at least error virtual
address since v5, so this if-condition should be like this.

Link: https://lkml.kernel.org/r/20210603051055.GA244241@xxxxxxxxxxxxxxxxxxxxxxxxxxx
Cc: Tony Luck <tony.luck@xxxxxxxxx>
Cc: Aili Yao <yaoaili@xxxxxxxxxxxx>
Cc: Oscar Salvador <osalvador@xxxxxxx>
Cc: David Hildenbrand <david@xxxxxxxxxx>
Cc: Borislav Petkov <bp@xxxxxxxxx>
Cc: Andy Lutomirski <luto@xxxxxxxxxx>
Cc: Jue Wang <juew@xxxxxxxxxx>
Cc: Borislav Petkov <bp@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/memory-failure.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/mm/memory-failure.c~mmhwpoison-send-sigbus-with-error-virutal-address-fix
+++ a/mm/memory-failure.c
@@ -691,7 +691,7 @@ static int kill_accessing_process(struct
 	mmap_read_lock(p->mm);
 	ret = walk_page_range(p->mm, 0, TASK_SIZE, &hwp_walk_ops,
 			      (void *)&priv);
-	if (!ret && priv.tk.addr)
+	if (ret == 1 && priv.tk.addr)
 		kill_proc(&priv.tk, pfn, flags);
 	mmap_read_unlock(p->mm);
 	return ret ? -EFAULT : -EHWPOISON;
_

Patches currently in -mm which might be from naoya.horiguchi@xxxxxxx are

mmhwpoison-send-sigbus-with-error-virutal-address.patch
mmhwpoison-make-get_hwpoison_page-call-get_any_page.patch
mm-hwpoison-disable-pcp-for-page_handle_poison.patch




[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux