Messages in this thread Patch in this message | | | Date | Wed, 7 Apr 2004 19:27:09 +0200 | From | Andrea Arcangeli <> | Subject | Re: -mmX 4G patches feedback [numbers: how much performance impact] |
| |
On Wed, Apr 07, 2004 at 08:46:29AM +0200, Ingo Molnar wrote: > 4:4 patch) but a __flush_tlb() added before and after do_IRQ(), in
I added __flush_tlb_global on entry to better simulate the effect of 4:4. I doubt it makes a difference though.
--- x/arch/i386/kernel/irq.c.~1~ 2004-03-11 08:27:22.000000000 +0100 +++ x/arch/i386/kernel/irq.c 2004-04-07 19:23:21.735733664 +0200 @@ -427,6 +427,7 @@ asmlinkage unsigned int do_IRQ(struct pt struct irqaction * action; unsigned int status; + __flush_tlb_global(); irq_enter(); #ifdef CONFIG_DEBUG_STACKOVERFLOW @@ -507,6 +508,7 @@ out: spin_unlock(&desc->lock); irq_exit(); + __flush_tlb(); return 1; } - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |