Re: SMP with linux

From: Andrey Savochkin (saw@saw.sw.com.sg)
Date: Wed Mar 29 2000 - 06:54:14 EST


On Wed, Mar 29, 2000 at 11:58:23AM +0100, Alan Cox wrote:
> > can anyone give me some information what I'd have to do,
> > to make a linux device-driver SMP secure.
>
> Deal with the locking. Your transmit routine is single threaded but may be
> running at the same time as an IRQ on a 2nd cpu, statistics queries on
> cpus and also multicast list updates.

A small correction: multicast list updates are serialized with transmits.

        Andrey

-
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 : Fri Mar 31 2000 - 21:00:24 EST