[PATCH v8 0/3] mm/hwpoison: fix race between hugetlb free/demotion and memory_failure_hugetlb()

From: Naoya Horiguchi
Date: Fri Apr 08 2022 - 09:53:40 EST


Hi,

I updated v7 (https://lore.kernel.org/linux-mm/20220407112929.1344748-1-naoya.horiguchi@xxxxxxxxx/)
based on the comment from Miaohe Lin. Now I have a few additional patches.
Any comments and suggestions are welcomed.

Thanks,
Naoya Horiguchi
---
Summary:

Naoya Horiguchi (3):
mm/hwpoison: fix race between hugetlb free/demotion and memory_failure_hugetlb()
mm/hwpoison: put page in already hwpoisoned case with MF_COUNT_INCREASED
Revert "mm/memory-failure.c: fix race with changing page compound again"

include/linux/hugetlb.h | 6 ++
include/linux/mm.h | 9 ++-
include/ras/ras_event.h | 1 -
mm/hugetlb.c | 10 ++++
mm/memory-failure.c | 152 ++++++++++++++++++++++++++++++++----------------
5 files changed, 126 insertions(+), 52 deletions(-)