[PATCH v5 0/4] HWpoison: further fixes and cleanups

From: Oscar Salvador
Date: Tue Oct 13 2020 - 10:43:31 EST


This patchset includes some more fixes and a cleanup.

Patch#2 and patch#3 are both fixes for taking a HWpoison page off a buddy
freelist, since having them there has proved to be bad (see [1] and
pathch#2's commit log).
Patch#3 does the same for hugetlb pages.

[1] https://lkml.org/lkml/2020/9/22/565

Thanks

Oscar Salvador (4):
mm,hwpoison: drain pcplists before bailing out for non-buddy
zero-refcount page
mm,hwpoison: take free pages off the buddy freelists
mm,hwpoison: take free pages off the buddy freelists for hugetlb
mm,hwpoison: drop unneeded pcplist draining

mm/madvise.c | 5 ----
mm/memory-failure.c | 70 +++++++++++++++++++++++++++++++++------------
2 files changed, 52 insertions(+), 23 deletions(-)

--
2.26.2