Hi everyone, I wrote the patchset updating hwpoison/hugetlb code to address the 2 reported issues.
One is madvise(MADV_HWPOISON) failure reported by Intel's lkp robot (see http://lkml.kernel.org/r/20170417055948.GM31394@yexl-desktop.) First half was already fixed in mainline, and another half about hugetlb cases are solved in this series. Another issue is "narrow-down error affected region into a single 4kB page instead of a whole hugetlb page" issue, which was tried by Anshuman (http://lkml.kernel.org/r/[email protected]) and I updated it to apply it more widely. Hopefully it helps people who are interested in hugetlb migration for wider arch/setting. Thanks, Naoya Horiguchi --- Summary: Anshuman Khandual (1): mm: hugetlb: soft-offline: dissolve source hugepage after successful migration Naoya Horiguchi (8): mm: hugetlb: prevent reuse of hwpoisoned free hugepages mm: hugetlb: return immediately for hugetlb page in __delete_from_page_cache() mm: hwpoison: change PageHWPoison behavior on hugetlb pages mm: soft-offline: dissolve free hugepage if soft-offlined mm: hwpoison: introduce memory_failure_hugetlb() mm: hwpoison: dissolve in-use hugepage in unrecoverable memory error mm: hugetlb: delete dequeue_hwpoisoned_huge_page() mm: hwpoison: introduce idenfity_page_state fs/hugetlbfs/inode.c | 11 ++ include/linux/hugetlb.h | 8 +- include/linux/swapops.h | 9 -- mm/filemap.c | 8 +- mm/hugetlb.c | 47 ++----- mm/memory-failure.c | 323 +++++++++++++++++++++++------------------------- mm/migrate.c | 2 + 7 files changed, 184 insertions(+), 224 deletions(-)

