All of lore.kernel.org
 help / color / mirror / Atom feed
* + mm-hwpoison-retry-with-shake_page-for-unhandlable-pages-v2.patch added to -mm tree
@ 2021-08-19  0:29 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2021-08-19  0:29 UTC (permalink / raw)
  To: mm-commits, tony.luck, songmuchun, osalvador, mike.kravetz,
	mhocko, naoya.horiguchi


The patch titled
     Subject: mm-hwpoison-retry-with-shake_page-for-unhandlable-pages-v2
has been added to the -mm tree.  Its filename is
     mm-hwpoison-retry-with-shake_page-for-unhandlable-pages-v2.patch

This patch should soon appear at
    https://ozlabs.org/~akpm/mmots/broken-out/mm-hwpoison-retry-with-shake_page-for-unhandlable-pages-v2.patch
and later at
    https://ozlabs.org/~akpm/mmotm/broken-out/mm-hwpoison-retry-with-shake_page-for-unhandlable-pages-v2.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Naoya Horiguchi <naoya.horiguchi@nec.com>
Subject: mm-hwpoison-retry-with-shake_page-for-unhandlable-pages-v2

get_any_page(): return -EIO when retry limit reached

Link: https://lkml.kernel.org/r/20210819001958.2365157-1-naoya.horiguchi@linux.dev
Fixes: 25182f05ffed ("mm,hwpoison: fix race with hugetlb page allocation")
Signed-off-by: Naoya Horiguchi <naoya.horiguchi@nec.com>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Oscar Salvador <osalvador@suse.de>
Cc: Muchun Song <songmuchun@bytedance.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Michal Hocko <mhocko@suse.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~mm-hwpoison-retry-with-shake_page-for-unhandlable-pages-v2
+++ a/mm/memory-failure.c
@@ -1207,6 +1207,7 @@ try_again:
 				shake_page(p, 1);
 				goto try_again;
 			}
+			ret = -EIO;
 			goto out;
 		}
 	}
_

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

mm-hwpoison-retry-with-shake_page-for-unhandlable-pages.patch
mm-hwpoison-retry-with-shake_page-for-unhandlable-pages-v2.patch
mm-sparse-set-section_nid_shift-to-6.patch


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

only message in thread, other threads:[~2021-08-19  0:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-19  0:29 + mm-hwpoison-retry-with-shake_page-for-unhandlable-pages-v2.patch added to -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.