* [folded-merged] mmhwpoison-send-sigbus-with-error-virutal-address-fix.patch removed from -mm tree
@ 2021-06-29 0:35 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2021-06-29 0:35 UTC (permalink / raw)
To: bp, bp, david, juew, luto, mm-commits, naoya.horiguchi,
osalvador, tony.luck, yaoaili
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@nec.com>
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@hori.linux.bs1.fc.nec.co.jp
Cc: Tony Luck <tony.luck@intel.com>
Cc: Aili Yao <yaoaili@kingsoft.com>
Cc: Oscar Salvador <osalvador@suse.de>
Cc: David Hildenbrand <david@redhat.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Jue Wang <juew@google.com>
Cc: Borislav Petkov <bp@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
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@nec.com 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-06-29 0:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-29 0:35 [folded-merged] mmhwpoison-send-sigbus-with-error-virutal-address-fix.patch removed from -mm tree akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).