[PATCH 0/4] memory-failure: fix hwpoison_filter

From: zhenwei pi
Date: Fri Apr 29 2022 - 10:26:11 EST


Hi,
There are two parts in this series:
"move clear_hwpoisoned_pages" and "simplify num_poisoned_pages_dec"
do not fix bugs, just make memory failure easy to maintain.

"optimize hwpoison_filter" and "add hwpoison_filter for soft offline"
try to fix hwpoison_filter.

zhenwei pi (4):
mm/memory-failure.c: move clear_hwpoisoned_pages
mm/memofy-failure.c:: simplify num_poisoned_pages_dec
mm/memofy-failure.c: optimize hwpoison_filter
mm/memofy-failure.c: add hwpoison_filter for soft offline

mm/internal.h | 11 ++++++
mm/memory-failure.c | 81 ++++++++++++++++++++++++---------------------
mm/page_alloc.c | 1 -
mm/sparse.c | 27 ---------------
4 files changed, 54 insertions(+), 66 deletions(-)

--
2.20.1