The patch titled Subject: mm: disable numa migration faults for dax vmas has been added to the -mm tree. Its filename is mm-disable-numa-migration-faults-for-dax-vmas.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-disable-numa-migration-faults-for-dax-vmas.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-disable-numa-migration-faults-for-dax-vmas.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: Dan Williams <dan.j.williams@xxxxxxxxx> Subject: mm: disable numa migration faults for dax vmas Mark dax vmas as not migratable to exclude them from task_numa_work(). This is especially relevant for device-dax which wants to ensure predictable access latency and not incur periodic faults. Link: http://lkml.kernel.org/r/147892450132.22062.16875659431109209179.stgit@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Signed-off-by: Dan Williams <dan.j.williams@xxxxxxxxx> Reported-by: Aneesh Kumar K.V <aneesh.kumar@xxxxxxxxxxxxxxxxxx> Cc: Michal Hocko <mhocko@xxxxxxxx> Cc: Vlastimil Babka <vbabka@xxxxxxx> Cc: "Kirill A. Shutemov" <kirill.shutemov@xxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/mempolicy.h | 4 ++++ 1 file changed, 4 insertions(+) diff -puN include/linux/mempolicy.h~mm-disable-numa-migration-faults-for-dax-vmas include/linux/mempolicy.h --- a/include/linux/mempolicy.h~mm-disable-numa-migration-faults-for-dax-vmas +++ a/include/linux/mempolicy.h @@ -7,6 +7,7 @@ #include <linux/mmzone.h> +#include <linux/dax.h> #include <linux/slab.h> #include <linux/rbtree.h> #include <linux/spinlock.h> @@ -179,6 +180,9 @@ static inline bool vma_migratable(struct if (vma->vm_flags & (VM_IO | VM_PFNMAP)) return false; + if (vma_is_dax(vma)) + return false; + #ifndef CONFIG_ARCH_ENABLE_HUGEPAGE_MIGRATION if (vma->vm_flags & VM_HUGETLB) return false; _ Patches currently in -mm which might be from dan.j.williams@xxxxxxxxx are mm-disable-numa-migration-faults-for-dax-vmas.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html