Re: SMP with linux

From: Andrew Morton (andrewm@uow.edu.au)
Date: Fri Mar 31 2000 - 09:33:45 EST


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.

Where does tx_timeout() stand wrt hard_start_xmit(), get_stats() and
set_multicast_list()?

And do_ioclt() wrt all the above?

-- 
-akpm-

- 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:29 EST