* [PATCH -rt] yet another irq storm
@ 2007-04-28 3:12 Steven Rostedt
0 siblings, 0 replies; only message in thread
From: Steven Rostedt @ 2007-04-28 3:12 UTC (permalink / raw)
To: Ingo Molnar; +Cc: LKML, Thomas Gleixner
Must be global warming, I'm getting a lot more irq storms than usual.
Now that I switched over to x86_64, I booted up and got another irq
storm. So I added my previous patch and it didn't fix it. Looking
further, I found that the mask and unmask is done directly in the
x86_64/io_apic.c file.
This patch does basically the same thing as my previous patch, but to
the x86_64/io_apic.c file.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Index: linux-2.6.21-rt1/arch/x86_64/kernel/io_apic.c
===================================================================
--- linux-2.6.21-rt1.orig/arch/x86_64/kernel/io_apic.c
+++ linux-2.6.21-rt1/arch/x86_64/kernel/io_apic.c
@@ -1437,7 +1437,8 @@ static void ack_apic_level(unsigned int
irq_complete_move(irq);
#if defined(CONFIG_GENERIC_PENDING_IRQ) || defined(CONFIG_IRQBALANCE)
/* If we are moving the irq we need to mask it */
- if (unlikely(irq_desc[irq].status & IRQ_MOVE_PENDING)) {
+ if (unlikely(irq_desc[irq].status & IRQ_MOVE_PENDING) &&
+ !(irq_desc[irq].status & IRQ_INPROGRESS)) {
do_unmask_irq = 1;
mask_IO_APIC_irq(irq);
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-04-28 3:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-28 3:12 [PATCH -rt] yet another irq storm Steven Rostedt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox