Re: [Q] net_device methods and disable_irq interaction (SMP&UP)

From: Hans Grobler (grobh@sun.ac.za)
Date: Sat Sep 30 2000 - 04:08:28 EST


On Fri, 29 Sep 2000, Alan Cox wrote:
> > Can spin_lock_irqsave and the disable_irq & spin_lock combinations be
> > safely mixed, particularly with regards to the networking layer? This does
> > not seem to be done anywhere in the kernel so I suspect that I'm trying
> > to do something wrong/bogus ...
>
> We do it on the 8390 and 3c509.

Thanks for the references Alan... just what I was looking for. Looks like
my 'grep' skills need some work :)

-- Hans.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 30 2000 - 21:00:26 EST