From: Naoya Horiguchi on
Hi,

This is a patchset for hugepage migration.

There are many users of page migration such as soft offlining,
memory hotplug, memory policy and memory compaction,
but this patchset adds hugepage support only for soft offlining
as the first step.

This patchset is based on 2.6.35-rc3 applied with "HWPOISON for
hugepage" patchset I previously posted (see Andi's git tree.)
http://git.kernel.org/?p=linux/kernel/git/ak/linux-mce-2.6.git;a=summary

I tested this patchset with 'make func' in libhugetlbfs and
have gotten the same result as one from 2.6.35-rc3.

[PATCH 1/7] hugetlb: add missing unlock in avoidcopy path in hugetlb_cow()
[PATCH 2/7] hugetlb, HWPOISON: move PG_HWPoison bit check
[PATCH 3/7] hugetlb: add allocate function for hugepage migration
[PATCH 4/7] hugetlb: add hugepage check in mem_cgroup_{register,end}_migration()
[PATCH 5/7] hugetlb: pin oldpage in page migration
[PATCH 6/7] hugetlb: hugepage migration core
[PATCH 7/7] hugetlb, HWPOISON: soft offlining for hugepage

fs/hugetlbfs/inode.c | 2 +
include/linux/hugetlb.h | 6 ++
mm/hugetlb.c | 138 +++++++++++++++++++++++++++++++++++-----------
mm/memcontrol.c | 5 ++
mm/memory-failure.c | 57 +++++++++++++++-----
mm/migrate.c | 70 ++++++++++++++++++++++--
6 files changed, 226 insertions(+), 52 deletions(-)

Thanks,
Naoya Horiguchi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/