lkml.org 
[lkml]   [2011]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/7] HWPOISON for hugepage backed KVM guest
Date
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(-)


\
 
 \ /
  Last update: 2011-01-21 07:35    [W:0.062 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site