[PATCH 0/7] HWPOISON for hugepage backed KVM guest

From: Naoya Horiguchi
Date: Fri Jan 21 2011 - 01:33:18 EST


Hi,

I wrote "HWPOISON for hugepage" patchset last year, but it didn't
cover the hugepages used by KVM guest because follow_hugetlb_pages()
called in a guest page fault code path didn't know about swap entry
formatted pmd entry.
This patchset fixes it and makes both soft and hard offline available
on hugepage backed KVM guest.

I appreciate all of your comments and reviews.

Thanks,
Naoya Horiguchi

Summary:

[PATCH 1/7] hugetlb: check swap entry in follow_hugetlb_page()
[PATCH 2/7] check hugepage swap entry in get_user_pages_fast()
[PATCH 3/7] remove putback_lru_pages() in hugepage migration context
[PATCH 4/7] hugetlb, migration: add migration_hugepage_entry_wait()
[PATCH 5/7] hugetlb: fix race condition between hugepage soft offline and page fault
[PATCH 6/7] HWPOISON: pass order to set/clear_page_hwpoison_huge_page()
[PATCH 7/7] HWPOISON, hugetlb: fix hard offline for hugepage backed KVM guest

arch/x86/mm/gup.c | 9 +++++++++
include/linux/swapops.h | 20 ++++++++++++++++++++
mm/hugetlb.c | 39 +++++++++++++++++++++++++++++----------
mm/memory-failure.c | 24 +++++++++++++-----------
mm/migrate.c | 33 +++++++++++++++++++++++++++++++++
5 files changed, 104 insertions(+), 21 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/