From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail172.messagelabs.com (mail172.messagelabs.com [216.82.254.3]) by kanga.kvack.org (Postfix) with ESMTP id 5B1826B01D2 for ; Thu, 27 May 2010 20:33:05 -0400 (EDT) From: Naoya Horiguchi Subject: [PATCH 0/8] HWPOISON for hugepage (v6) Date: Fri, 28 May 2010 09:29:14 +0900 Message-Id: <1275006562-18946-1-git-send-email-n-horiguchi@ah.jp.nec.com> Sender: owner-linux-mm@kvack.org To: linux-mm@kvack.org Cc: linux-kernel@vger.kernel.org, Andi Kleen , Andrew Morton , Wu Fengguang , Mel Gorman List-ID: Hi, Here is a "HWPOISON for hugepage" patchset which reflects Mel's comments on hugepage rmapping code. Only patch 1/8 and 2/8 are changed since the previous post. Mel, could you please restart reviewing and testing? include/linux/hugetlb.h | 14 +--- include/linux/hugetlb_inline.h | 22 +++++++ include/linux/pagemap.h | 9 +++- include/linux/poison.h | 9 --- include/linux/rmap.h | 5 ++ mm/hugetlb.c | 100 ++++++++++++++++++++++++++++++++- mm/hwpoison-inject.c | 15 +++-- mm/memory-failure.c | 120 ++++++++++++++++++++++++++++++---------- mm/rmap.c | 59 ++++++++++++++++++++ 9 files changed, 295 insertions(+), 58 deletions(-) ChangeLog from v5: - rebased to 2.6.34 - fix logic error (in case that private mapping and shared mapping coexist) - move is_vm_hugetlb_page() into include/linux/mm.h to use this function from linear_page_index() - define and use linear_hugepage_index() instead of compound_order() - use page_move_anon_rmap() in hugetlb_cow() - copy exclusive switch of __set_page_anon_rmap() into hugepage counterpart. - revert commit 24be7468 completely - create hugetlb_inline.h and move is_vm_hugetlb_index() in it. - move functions setting up anon_vma for hugepage into mm/rmap.c. ChangeLog from v4: - rebased to 2.6.34-rc7 - add isolation code for free/reserved hugepage in me_huge_page() - set/clear PG_hwpoison bits of all pages in hugepage. - mce_bad_pages counts all pages in hugepage. - rename __hugepage_set_anon_rmap() to hugepage_add_anon_rmap() - add huge_pte_offset() dummy function in header file on !CONFIG_HUGETLBFS ChangeLog from v3: - rebased to 2.6.34-rc5 - support for privately mapped hugepage ChangeLog from v2: - rebase to 2.6.34-rc3 - consider mapcount of hugepage - rename pointer "head" into "hpage" ChangeLog from v1: - rebase to 2.6.34-rc1 - add comment from Wu Fengguang Thanks, Naoya Horiguchi -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org