From: akpm@linux-foundation.org
To: mm-commits@vger.kernel.org, osalvador@suse.de, rdunlap@infradead.org
Subject: + mmhwpoison-rework-soft-offline-for-free-pages-fix.patch added to -mm tree
Date: Fri, 26 Jun 2020 20:49:00 -0700 [thread overview]
Message-ID: <20200627034900.5ecAz%akpm@linux-foundation.org> (raw)
The patch titled
Subject: mm: memory-failure: add stub for page_handle_poison()
has been added to the -mm tree. Its filename is
mmhwpoison-rework-soft-offline-for-free-pages-fix.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/mmhwpoison-rework-soft-offline-for-free-pages-fix.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/mmhwpoison-rework-soft-offline-for-free-pages-fix.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: Randy Dunlap <rdunlap@infradead.org>
Subject: mm: memory-failure: add stub for page_handle_poison()
Fix a build error when no HWPOISON kconfig symbols are set/enabled
by providing a stub function for 'page_handle_poison()'.
../mm/memory-failure.c: In function `__soft_offline_page':
../mm/memory-failure.c:1827:3: error: implicit declaration of function `page_handle_poison'; did you mean `page_init_poison'? [-Werror=implicit-function-declaration]
page_handle_poison(page, false, true);
Link: http://lkml.kernel.org/r/5bc95fd0-4c21-59c3-4629-7b6848b6a399@infradead.org
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Oscar Salvador <osalvador@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/memory-failure.c | 5 +++++
1 file changed, 5 insertions(+)
--- a/mm/memory-failure.c~mmhwpoison-rework-soft-offline-for-free-pages-fix
+++ a/mm/memory-failure.c
@@ -175,6 +175,11 @@ int hwpoison_filter(struct page *p)
{
return 0;
}
+
+static bool page_handle_poison(struct page *page, bool hugepage_or_freepage, bool release)
+{
+ return true;
+}
#endif
EXPORT_SYMBOL_GPL(hwpoison_filter);
_
Patches currently in -mm which might be from rdunlap@infradead.org are
mmhwpoison-rework-soft-offline-for-free-pages-fix.patch
reply other threads:[~2020-06-27 3:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200627034900.5ecAz%akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mm-commits@vger.kernel.org \
--cc=osalvador@suse.de \
--cc=rdunlap@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.