Re: SMP with linux

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Wed Mar 29 2000 - 05:58:23 EST


> 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.

> Can I use skbuffs ( and their functions ) in a SMP
> environment ?

Yes.

> Are there some related documents in the web ?

For the sk_buff's we have a start
        ftp://ftp.linux.org.uk/pub/linux/alan/kernel-api.pdf

is a WIP.

Alan

-
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