Re: 2.6.17-rc5-mm1 - output of lock validator

From: Arjan van de Ven
Date: Wed May 31 2006 - 17:23:52 EST


Andrew Morton wrote:
Arjan van de Ven <arjan@xxxxxxxxxxxxxxx> wrote:
Andrew Morton wrote:
On Wed, 31 May 2006 16:28:59 +0200
Arjan van de Ven <arjan@xxxxxxxxxxxxxxx> wrote:

--- linux-2.6.17-rc5-mm1.5.orig/drivers/net/8390.c
+++ linux-2.6.17-rc5-mm1.5/drivers/net/8390.c
@@ -299,7 +299,7 @@ static int ei_start_xmit(struct sk_buff disable_irq_nosync(dev->irq);

- spin_lock(&ei_local->page_lock);
+ spin_lock_irqsave(&ei_local->page_lock, flags);
Again, notabug - we did disable_irq().
but does disable_irq() work in the light of that irqpoll stuff?


Don't have a clue what you're referring to, sorry.

misrouted_irq() in kernel/irq/spurious.c
afaics that calls all handlers registered to the system regardless of what
irq number they are registered for.....

which breaks the disable_irq() locking trick... because your irq handler now
gets called anyway!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/