Re: [PATCH / RFC 0/2] spinlocks fixup in fec / m68knommu driver
From: Jeff Garzik <hidden>
Date: 2008-03-29 02:19:55
From: Jeff Garzik <hidden>
Date: 2008-03-29 02:19:55
Sebastian Siewior wrote:
I got into this after turning on spinlock debugging. Jeff: The dev->hard_start_xmit callback is always called from softirq context so it is save to use spin_lock_irq(), right?
Some drivers do that, and it's fine. But be aware spin_lock_irqsave() may be required for edge cases like netconsole.