Re: MSI interrupts and disable_irq

From: Manfred Spraul
Date: Sun Oct 07 2007 - 12:56:04 EST


Jeff Garzik wrote:

Interested parties should try the forcedeth patches I just posted :)

The patches look good, but I would still prefer to understand why the current implementation causes crashes before rewriting everything.

I've just noticed that netpoll_send_skb() calls ->hard_start_xmit() and ->poll() within local_irq_save().
Thus it seems that spin_lock_irqsave() must be used in the poll() and hard_start_xmit() callbacks, at least in nics that support POLL_CONTROLLER :-(

--
Manfred

-
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/