lkml.org 
[lkml]   [2004]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: -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/
\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.062 / U:0.436 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site