From: "Alan Cox" <alan@lxorguk.ukuu.org.uk>
> > > eth3: SMP simultaneous entry of an interrupt handler.
> > rtl8129() is running on both cpus: [i guess because]
> > * one cpu because the hardware interrupt arrived
> > * one cpu because the timer called the function.
>
> That would explain the problem. In which case you may want to put
> a spin_lock_irqsave() around the interrupt and timer to fix it
>
AFAICS dev->interrupt is used as spin_trylock():
before doing real work, the interrupt handler calls
test_and_set_bit(0,&dev->interrupt).
But I don't understand why dev->interrupt is set to 0 if this
"do_it_yourself_spin_trylock()" fails.
-- Manfred- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sun Jan 23 2000 - 21:00:12 EST