[folded-merged] dont-touch-single-threaded-ptes-which-are-on-the-right-node-v3.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: dont-touch-single-threaded-ptes-which-are-on-the-right-node-v3
has been removed from the -mm tree.  Its filename was
     dont-touch-single-threaded-ptes-which-are-on-the-right-node-v3.patch

This patch was dropped because it was folded into dont-touch-single-threaded-ptes-which-are-on-the-right-node.patch

------------------------------------------------------
From: Andi Kleen <ak@xxxxxxxxxxxxxxx>
Subject: dont-touch-single-threaded-ptes-which-are-on-the-right-node-v3

v3: Minor updates from Mel. Change code layout.

Link: http://lkml.kernel.org/r/1476382117-5440-1-git-send-email-andi@xxxxxxxxxxxxxx
Signed-off-by: Andi Kleen <ak@xxxxxxxxxxxxxxx>
Acked-by: Mel Gorman <mgorman@xxxxxxx>
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/mprotect.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff -puN mm/mprotect.c~dont-touch-single-threaded-ptes-which-are-on-the-right-node-v3 mm/mprotect.c
--- a/mm/mprotect.c~dont-touch-single-threaded-ptes-which-are-on-the-right-node-v3
+++ a/mm/mprotect.c
@@ -69,16 +69,16 @@ static unsigned long change_pte_range(st
 	pte_t *pte, oldpte;
 	spinlock_t *ptl;
 	unsigned long pages = 0;
-	int target_node = -1;
+	int target_node = NUMA_NO_NODE;
 
 	pte = lock_pte_protection(vma, pmd, addr, prot_numa, &ptl);
 	if (!pte)
 		return 0;
 
-	if (prot_numa &&
-	    !(vma->vm_flags & VM_SHARED) &&
+	/* Get target node for single threaded private VMAs */
+	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 = numa_node_id();
 
 	arch_enter_lazy_mmu_mode();
 	do {
_

Patches currently in -mm which might be from ak@xxxxxxxxxxxxxxx are

dont-touch-single-threaded-ptes-which-are-on-the-right-node.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



[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux