Files
linux/drivers
David S. Miller f47c11eecc [TG3]: Eliminate all hw IRQ handler spinlocks.
Move all driver spinlocks to be taken at sw IRQ
context only.

This fixes the skb_copy() we were doing with hw
IRQs disabled (which is illegal and triggers a
BUG() with HIGHMEM enabled).  It also simplifies
the locking all over the driver tremendously.

We accomplish this feat by creating a special
sequence to synchronize with the hw IRQ handler
using a binary state and synchronize_irq().
This idea is from Herbert Xu.

Thanks to Michael Chan for helping to track down
all of the race conditions in initial versions
of this code.

Signed-off-by: David S. Miller <davem@davemloft.net>
2005-06-24 20:18:35 -07:00
..
2005-06-21 18:46:13 -07:00
2005-04-16 15:20:36 -07:00
2005-06-23 09:45:35 -07:00
2005-06-24 00:06:43 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-06-24 00:06:40 -07:00
2005-06-24 00:06:41 -07:00
2005-06-24 00:06:43 -07:00
2005-06-21 18:46:32 -07:00
2005-04-16 15:20:36 -07:00
2005-06-23 10:04:15 -07:00
2005-06-21 21:43:12 -07:00
2005-06-21 18:46:32 -07:00
2005-06-21 18:46:32 -07:00