The patch titled Subject: dont-touch-single-threaded-ptes-which-are-on-the-right-node-fix has been added to the -mm tree. Its filename is dont-touch-single-threaded-ptes-which-are-on-the-right-node-fix.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/dont-touch-single-threaded-ptes-which-are-on-the-right-node-fix.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/dont-touch-single-threaded-ptes-which-are-on-the-right-node-fix.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: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: dont-touch-single-threaded-ptes-which-are-on-the-right-node-fix tweak code layout Cc: Andi Kleen <ak@xxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/mprotect.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff -puN mm/mprotect.c~dont-touch-single-threaded-ptes-which-are-on-the-right-node-fix mm/mprotect.c --- a/mm/mprotect.c~dont-touch-single-threaded-ptes-which-are-on-the-right-node-fix +++ a/mm/mprotect.c @@ -76,10 +76,9 @@ static unsigned long change_pte_range(st if (!pte) return 0; - if (prot_numa && - !(vma->vm_flags & VM_SHARED) && + if (prot_numa && !(vma->vm_flags & VM_SHARED) && atomic_read(&vma->vm_mm->mm_users) == 1) - target_node = cpu_to_node(raw_smp_processor_id()); + target_node = cpu_to_node(raw_smp_processor_id()); arch_enter_lazy_mmu_mode(); do { _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are i-need-old-gcc.patch arm-arch-arm-include-asm-pageh-needs-personalityh.patch mm.patch dont-touch-single-threaded-ptes-which-are-on-the-right-node-fix.patch linux-next-rejects.patch drivers-net-wireless-intel-iwlwifi-dvm-calibc-fix-min-warning.patch include-linux-mlx5-deviceh-kill-build_bug_ons.patch kernel-forkc-export-kernel_thread-to-modules.patch slab-leaks3-default-y.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