linux-mips
[Top] [All Lists]

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

To: linux-mips@linux-mips.org, ralf@linux-mips.org
Subject: [PATCH] MIPS: Remove redundant TLB invalidate from pmdp_splitting_flush().
From: David Daney <ddaney.cavm@gmail.com>
Date: Wed, 17 Oct 2012 17:20:20 -0700
Cc: David Daney <david.daney@cavium.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=wnovXh+/dC0aSqLFj1dXaiSEUJM7/+yNvklxkaV2zx0=; b=APIYuYuzKuqQvDilWgzEDglaYm3j4mBsYrQ1Mpy3553mB33SpWU+p2NlElfvuKQkDI 4IfckBYtxTJXlPwxBXmSM5jOegzQsSxxyfQpMy+s8LEMoBD69tpk5R1CW8eIEfnTPmnL a1Zrol6VqZ5L77hEDcNVGdLaYXldUJ1vCrKUuB86UO29EpPXlmmNMSejFc5zNiQLj5tc 6RWrHKBchQlxj4GkPExQBsIaj8En8J2j+rkFLV/44X47fVbRnuG/n8BaickgGLlZax6J COCQ7of7MMbpOR5pGP61wvn8yqdb6oUbrOLv1A97VwxO+XtjqNY73by60a3/RmPBlNmW /4Ug==
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Sender: linux-mips-bounce@linux-mips.org
From: David Daney <david.daney@cavium.com>

Signed-off-by: David Daney <david.daney@cavium.com>
---
 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


<Prev in Thread] Current Thread [Next in Thread>