Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=bb49b32fece7910fbb02a6934bca4495596f6c8c
Commit:     bb49b32fece7910fbb02a6934bca4495596f6c8c
Parent:     c9f2875b7968453a852e1de5d3504fd2241e8989
Author:     Hugh Dickins <[EMAIL PROTECTED]>
AuthorDate: Wed May 16 22:11:18 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Thu May 17 05:23:05 2007 -0700

    i386: don't check_pgt_cache in flush_tlb_mm
    
    No other architecture calls check_pgt_cache() from within flush_tlb_mm(),
    and i386 is already calling check_pgt_cache() from the usual places,
    tlb_finish_mmu() and cpu_idle() (the latter being odd, but not unusual).
    flush_tlb_mm() has no business to be freeing pages: remove that line, which
    sneaked in with slub's i386 support.
    
    Signed-off-by: Hugh Dickins <[EMAIL PROTECTED]>
    Cc: Andi Kleen <[EMAIL PROTECTED]>
    Acked-by: Christoph Lameter <[EMAIL PROTECTED]>
    Acked-by: William Lee Irwin III <[EMAIL PROTECTED]>
    Cc: David Miller <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 arch/i386/kernel/smp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/i386/kernel/smp.c b/arch/i386/kernel/smp.c
index c9a7c98..6299c08 100644
--- a/arch/i386/kernel/smp.c
+++ b/arch/i386/kernel/smp.c
@@ -421,7 +421,7 @@ void flush_tlb_mm (struct mm_struct * mm)
        }
        if (!cpus_empty(cpu_mask))
                flush_tlb_others(cpu_mask, mm, TLB_FLUSH_ALL);
-       check_pgt_cache();
+
        preempt_enable();
 }
 
-
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  http://vger.kernel.org/majordomo-info.html

Reply via email to