* + mmhwpoison-drop-pfn-parameter.patch added to -mm tree
@ 2020-11-20 23:58 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2020-11-20 23:58 UTC (permalink / raw)
To: mm-commits, naoya.horiguchi, osalvador
The patch titled
Subject: mm,hwpoison: drop pfn parameter
has been added to the -mm tree. Its filename is
mmhwpoison-drop-pfn-parameter.patch
This patch should soon appear at
https://ozlabs.org/~akpm/mmots/broken-out/mmhwpoison-drop-pfn-parameter.patch
and later at
https://ozlabs.org/~akpm/mmotm/broken-out/mmhwpoison-drop-pfn-parameter.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: Oscar Salvador <osalvador@suse.de>
Subject: mm,hwpoison: drop pfn parameter
pfn parameter is no longer needed, drop it.
Link: https://lkml.kernel.org/r/20201119105716.5962-3-osalvador@suse.de
Signed-off-by: Oscar Salvador <osalvador@suse.de>
Acked-by: Naoya Horiguchi <naoya.horiguchi@nec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/memory-failure.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/mm/memory-failure.c~mmhwpoison-drop-pfn-parameter
+++ a/mm/memory-failure.c
@@ -1712,7 +1712,7 @@ EXPORT_SYMBOL(unpoison_memory);
* We only incremented refcount in case the page was already in-use and it is
* a known type we can handle.
*/
-static int get_any_page(struct page *p, unsigned long pfn, int flags)
+static int get_any_page(struct page *p, int flags)
{
int ret = 0, pass = 0;
@@ -1926,7 +1926,7 @@ int soft_offline_page(unsigned long pfn,
retry:
get_online_mems();
- ret = get_any_page(page, pfn, flags);
+ ret = get_any_page(page, flags);
put_online_mems();
if (ret > 0) {
_
Patches currently in -mm which might be from osalvador@suse.de are
mmhwpoison-drain-pcplists-before-bailing-out-for-non-buddy-zero-refcount-page.patch
mmhwpoison-take-free-pages-off-the-buddy-freelists.patch
mmhwpoison-take-free-pages-off-the-buddy-freelists-for-hugetlb.patch
mmhwpoison-drop-unneeded-pcplist-draining.patch
mmhwpoison-refactor-get_any_page.patch
mmhwpoison-drop-pfn-parameter.patch
mmhwpoison-disable-pcplists-before-grabbing-a-refcount.patch
mmhwpoison-remove-drain_all_pages-from-shake_page.patch
mmhugetlb-remove-unneded-initialization.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-11-20 23:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-20 23:58 + mmhwpoison-drop-pfn-parameter.patch added to -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).