Skip to contentSkip to conversation

+ mm-migrate-remove-vm_hugetlb-from-vma-flag-check-in-vma_migratable.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Aug 14, 2013 MM NUMA placement

lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

Subject: + mm-migrate-remove-vm_hugetlb-from-vma-flag-check-in-vma_migratable.patch added to -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Wed, 14 Aug 2013 16:41:52 -0700

The patch titled
Subject: mm: migrate: remove VM_HUGETLB from vma flag check in vma_migratable()
has been added to the -mm tree. Its filename is
mm-migrate-remove-vm_hugetlb-from-vma-flag-check-in-vma_migratable.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/mm-migrate-remove-vm_hugetlb-from-vma-flag-check-in-vma_migratable.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/mm-migrate-remove-vm_hugetlb-from-vma-flag-check-in-vma_migratable.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: Naoya Horiguchi <[email protected]>
Subject: mm: migrate: remove VM_HUGETLB from vma flag check in vma_migratable()

Enable hugepage migration from migrate_pages(2), move_pages(2), and mbind(2).

---

 include/linux/mempolicy.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/mempolicy.h renamed from include/linux/mempolicy.h~mm-migrate-remove-vm_hugetlb-from-vma-flag-check-in-vma_migratable +1 -1
diff -puN include/linux/mempolicy.h~mm-migrate-remove-vm_hugetlb-from-vma-flag-check-in-vma_migratable include/linux/mempolicy.h
@@ -173,7 +173,7 @@ extern int mpol_to_str(char *buffer, int
 /* Check if a vma is migratable */
 static inline int vma_migratable(struct vm_area_struct *vma)
 {
-	if (vma->vm_flags & (VM_IO | VM_HUGETLB | VM_PFNMAP))
+	if (vma->vm_flags & (VM_IO | VM_PFNMAP))
 		return 0;
 	/*
 	 * Migration allocates pages in the highest zone. If we cannot

_

Patches currently in -mm which might be from [email protected] are

mm-hugetlb-move-up-the-code-which-check-availability-of-free-huge-page.patch mm-hugetlb-trivial-commenting-fix.patch mm-hugetlb-clean-up-alloc_huge_page.patch mm-hugetlb-fix-and-clean-up-node-iteration-code-to-alloc-or-free.patch mm-hugetlb-remove-redundant-list_empty-check-in-gather_surplus_pages.patch mm-hugetlb-do-not-use-a-page-in-page-cache-for-cow-optimization.patch mm-hugetlb-add-vm_noreserve-check-in-vma_has_reserves.patch mm-hugetlb-remove-decrement_hugepage_resv_vma.patch mm-hugetlb-decrement-reserve-count-if-vm_noreserve-alloc-page-cache.patch mm-hugetlb-protect-reserved-pages-when-soft-offlining-a-hugepage.patch mm-hugetlb-change-variable-name-reservations-to-resv.patch mm-hugetlb-fix-subpool-accounting-handling.patch mm-hugetlb-remove-useless-check-about-mapping-type.patch mm-hugetlb-grab-a-page_table_lock-after-page_cache_release.patch mm-hugetlb-return-a-reserved-page-to-a-reserved-pool-if-failed.patch mm-migrate-make-core-migration-code-aware-of-hugepage.patch mm-soft-offline-use-migrate_pages-instead-of-migrate_huge_page.patch migrate-add-hugepage-migration-code-to-migrate_pages.patch mm-migrate-add-hugepage-migration-code-to-move_pages.patch mm-mbind-add-hugepage-migration-code-to-mbind.patch mm-migrate-remove-vm_hugetlb-from-vma-flag-check-in-vma_migratable.patch mm-memory-hotplug-enable-memory-hotplug-to-handle-hugepage.patch mm-migrate-check-movability-of-hugepage-in-unmap_and_move_huge_page.patch mm-prepare-to-remove-proc-sys-vm-hugepages_treat_as_movable.patch