From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx137.postini.com [74.125.245.137]) by kanga.kvack.org (Postfix) with SMTP id E72306B0031 for ; Fri, 9 Aug 2013 01:22:17 -0400 (EDT) From: Naoya Horiguchi Subject: [PATCH v5 0/9] extend hugepage migration Date: Fri, 9 Aug 2013 01:21:33 -0400 Message-Id: <1376025702-14818-1-git-send-email-n-horiguchi@ah.jp.nec.com> Sender: owner-linux-mm@kvack.org List-ID: To: Andrew Morton , linux-mm@kvack.org Cc: Mel Gorman , Hugh Dickins , KOSAKI Motohiro , Andi Kleen , Hillf Danton , Michal Hocko , Rik van Riel , "Aneesh Kumar K.V" , Wanpeng Li , linux-kernel@vger.kernel.org, Naoya Horiguchi Here is the 5th version of hugepage migration patchset. Changes in this version are as follows: - removed putback_active_hugepages() as a cleanup (1/9) - added code to check movability of a given hugepage (8/9) - set GFP MOVABLE flag depending on the movability of hugepage (9/9). I feel that 8/9 and 9/9 contain some new things, so need reviews on them. TODOs: (likely to be done after this work) - split page table lock for pmd/pud based hugepage (maybe applicable to thp) - improve alloc_migrate_target (especially in node choice) - using page walker in check_range Thanks, Naoya Horiguchi --- GitHub: git://github.com/Naoya-Horiguchi/linux.git extend_hugepage_migration.v5 Test code: git://github.com/Naoya-Horiguchi/test_hugepage_migration_extension.git Naoya Horiguchi (9): migrate: make core migration code aware of hugepage soft-offline: use migrate_pages() instead of migrate_huge_page() migrate: add hugepage migration code to migrate_pages() migrate: add hugepage migration code to move_pages() mbind: add hugepage migration code to mbind() migrate: remove VM_HUGETLB from vma flag check in vma_migratable() memory-hotplug: enable memory hotplug to handle hugepage migrate: check movability of hugepage in unmap_and_move_huge_page() prepare to remove /proc/sys/vm/hugepages_treat_as_movable Documentation/sysctl/vm.txt | 13 +--- arch/arm/mm/hugetlbpage.c | 5 ++ arch/arm64/mm/hugetlbpage.c | 5 ++ arch/ia64/mm/hugetlbpage.c | 5 ++ arch/metag/mm/hugetlbpage.c | 5 ++ arch/mips/mm/hugetlbpage.c | 5 ++ arch/powerpc/mm/hugetlbpage.c | 10 ++++ arch/s390/mm/hugetlbpage.c | 5 ++ arch/sh/mm/hugetlbpage.c | 5 ++ arch/sparc/mm/hugetlbpage.c | 5 ++ arch/tile/mm/hugetlbpage.c | 5 ++ arch/x86/mm/hugetlbpage.c | 8 +++ include/linux/hugetlb.h | 25 ++++++++ include/linux/mempolicy.h | 2 +- include/linux/migrate.h | 5 -- mm/hugetlb.c | 134 +++++++++++++++++++++++++++++++++++++----- mm/memory-failure.c | 15 ++++- mm/memory.c | 17 +++++- mm/memory_hotplug.c | 42 ++++++++++--- mm/mempolicy.c | 46 +++++++++++++-- mm/migrate.c | 61 ++++++++++--------- mm/page_alloc.c | 12 ++++ mm/page_isolation.c | 14 +++++ 23 files changed, 371 insertions(+), 78 deletions(-) -- 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