mm-commits.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [to-be-updated] mmhwpoison-refactor-soft_offline_huge_page-and-__soft_offline_page-fix-2.patch removed from -mm tree
@ 2020-09-19  0:24 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2020-09-19  0:24 UTC (permalink / raw)
  To: mm-commits, osalvador, naoya.horiguchi, dan.j.williams, cai, songmuchun


The patch titled
     Subject: mm/memory-failure: fix return wrong value when isolate page fail
has been removed from the -mm tree.  Its filename was
     mmhwpoison-refactor-soft_offline_huge_page-and-__soft_offline_page-fix-2.patch

This patch was dropped because an updated version will be merged

------------------------------------------------------
From: Muchun Song <songmuchun@bytedance.com>
Subject: mm/memory-failure: fix return wrong value when isolate page fail

When we isolate page fail, we should not return 0, because we do not
set page HWPoison on any page.

Link: https://lore.kernel.org/lkml/20200811220643.GB39857@lca.pw/
Link: http://lkml.kernel.org/r/20200830081053.64981-1-songmuchun@bytedance.com
Signed-off-by: Muchun Song <songmuchun@bytedance.com>
Reported-by: Qian Cai <cai@lca.pw>
Reviewed-by: Qian Cai <cai@lca.pw>
Cc: Naoya Horiguchi <naoya.horiguchi@nec.com>
Cc: Oscar Salvador <osalvador@suse.de>
Cc: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

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

--- a/mm/memory-failure.c~mmhwpoison-refactor-soft_offline_huge_page-and-__soft_offline_page-fix-2
+++ a/mm/memory-failure.c
@@ -1845,6 +1845,7 @@ static int __soft_offline_page(struct pa
 	} else {
 		pr_info("soft offline: %#lx: %s isolation failed: %d, page count %d, type %lx (%pGp)\n",
 			pfn, msg_page[huge], ret, page_count(page), page->flags, &page->flags);
+		ret = -EBUSY;
 	}
 	return ret;
 }
_

Patches currently in -mm which might be from songmuchun@bytedance.com are

kprobes-fix-kill-kprobe-which-has-been-marked-as-gone.patch
mm-memcontrol-fix-missing-suffix-of-workingset_restore.patch
mm-memcontrol-add-the-missing-numa_stat-interface-for-cgroup-v2.patch


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

only message in thread, other threads:[~2020-09-19  0:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-19  0:24 [to-be-updated] mmhwpoison-refactor-soft_offline_huge_page-and-__soft_offline_page-fix-2.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).