[PATCH v3 0/5] HWpoison: further fixes and cleanups

From: Oscar Salvador
Date: Mon Sep 14 2020 - 06:16:13 EST


The important bit of this patchset is patch#1, which is a fix to take off
HWPoison pages off a buddy freelist since it can lead us to having HWPoison
pages back in the game without no one noticing it.
So fix it (we did that already for soft_offline_page [1]).

The other patches are clean-ups and not that important, so if anything,
consider patch#1 for inclusion.

[1] https://patchwork.kernel.org/cover/11704083/

Thanks

Oscar Salvador (5):
mm,hwpoison: take free pages off the buddy freelists
mm,hwpoison: refactor madvise_inject_error
mm,hwpoison: drain pcplists before bailing out for non-buddy
zero-refcount page
mm,hwpoison: drop unneeded pcplist draining
mm,hwpoison: remove stale code

mm/madvise.c | 36 +++++++++++++-------------------
mm/memory-failure.c | 50 +++++++++++++++++++++++++++++++++------------
2 files changed, 51 insertions(+), 35 deletions(-)

--
2.26.2