Messages in this thread | | | From | Naoya Horiguchi <> | Subject | [PATCH 0/7] HWPOISON for hugepage backed KVM guest | Date | Fri, 21 Jan 2011 15:28:53 +0900 |
| |
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(-)
| |