Commit:     1c6b2ca5e0939bf8b5d1a11f1646f25189ecd447
Parent:     0349337467dc6039dcfb225074944ae944e7b34e
Author:     Paul Mundt <[EMAIL PROTECTED]>
AuthorDate: Mon Nov 19 13:00:32 2007 +0900
Committer:  Paul Mundt <[EMAIL PROTECTED]>
CommitDate: Mon Nov 19 13:00:32 2007 +0900

    sh: Kill off UTLB flush in fast-path.
    The __do_page_fault() fast-path contains a UTLB flush in order to
    force an ITLB reload, this isn't needed in practice as the ITLB is
    auto-reloaded from the UTLB anyways, which is already displaced by
    the manual 'ldtlb' in the update_mmu_cache() path.
    This provides a measurable speed up in the TLB miss fast-path.
    Signed-off-by: Paul Mundt <[EMAIL PROTECTED]>
 arch/sh/mm/fault.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/arch/sh/mm/fault.c b/arch/sh/mm/fault.c
index f33cedb..c56a5fa 100644
--- a/arch/sh/mm/fault.c
+++ b/arch/sh/mm/fault.c
@@ -304,14 +304,6 @@ asmlinkage int __kprobes __do_page_fault(struct pt_regs 
                entry = pte_mkdirty(entry);
        entry = pte_mkyoung(entry);
-#ifdef CONFIG_CPU_SH4
-       /*
-        * ITLB is not affected by "ldtlb" instruction.
-        * So, we need to flush the entry by ourselves.
-        */
-       local_flush_tlb_one(get_asid(), address & PAGE_MASK);
        set_pte(pte, entry);
        update_mmu_cache(NULL, address, entry);
        ret = 0;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to