[PATCH] MIPS: Remove redundant TLB invalidate from pmdp_splitting_flush().

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

 



From: David Daney <david.daney@xxxxxxxxxx>

Signed-off-by: David Daney <david.daney@xxxxxxxxxx>
---
 arch/mips/mm/pgtable-64.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/mm/pgtable-64.c b/arch/mips/mm/pgtable-64.c
index 6c9a477..5408bb5 100644
--- a/arch/mips/mm/pgtable-64.c
+++ b/arch/mips/mm/pgtable-64.c
@@ -71,7 +71,7 @@ void pmdp_splitting_flush(struct vm_area_struct *vma,
 	if (!pmd_trans_splitting(*pmdp)) {
 		pmd_t pmd = pmd_mksplitting(*pmdp);
 		set_pmd_at(vma->vm_mm, address, pmdp, pmd);
-		flush_tlb_range(vma, address, address + HPAGE_SIZE);
+		/* TLB already flushed by set_pmd_at() */
 	}
 }
 
-- 
1.7.11.7




[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux