Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751448AbdFAIRH (ORCPT ); Thu, 1 Jun 2017 04:17:07 -0400 Received: from mail-it0-f65.google.com ([209.85.214.65]:32864 "EHLO mail-it0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751090AbdFAIRG (ORCPT ); Thu, 1 Jun 2017 04:17:06 -0400 From: Naoya Horiguchi To: linux-mm@kvack.org Cc: Andrew Morton , Michal Hocko , "Aneesh Kumar K.V" , Anshuman Khandual , linux-kernel@vger.kernel.org, Naoya Horiguchi Subject: [PATCH v1 0/9] mm: hwpoison: fixlet for hugetlb migration Date: Thu, 1 Jun 2017 17:16:50 +0900 Message-Id: <1496305019-5493-1-git-send-email-n-horiguchi@ah.jp.nec.com> X-Mailer: git-send-email 2.7.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1724 Lines: 44 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/20170420110627.12307-1-khandual@linux.vnet.ibm.com) 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(-)