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

From: Oscar Salvador
Date: Tue Sep 08 2020 - 03:56:41 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 | 34 ++++++++++++------------------
mm/memory-failure.c | 50 +++++++++++++++++++++++++++++++++------------
2 files changed, 50 insertions(+), 34 deletions(-)

--
2.26.2