netdev
[Top] [All Lists]

Re: modular net drivers

To: Philipp Rumpf <prumpf@xxxxxxxx>
Subject: Re: modular net drivers
From: Richard Gooch <rgooch@xxxxxxxxxxxxxxx>
Date: Sat, 24 Jun 2000 10:03:08 -0600
Cc: Andrew Morton <andrewm@xxxxxxxxxx>, Rusty Russell <rusty@xxxxxxxxxxxxxxxx>, Keith Owens <kaos@xxxxxxxxxx>, Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>, "netdev@xxxxxxxxxxx" <netdev@xxxxxxxxxxx>
In-reply-to: <20000624085414.C25102@fruits.uzix.org>
References: <20000623164805.AA5BB8154@halfway> <3954262D.60BDEF41@uow.edu.au> <20000624080106.A25102@fruits.uzix.org> <3954D42A.938A724B@uow.edu.au> <20000624093548.A31621@puffin.external.hp.com> <200006241548.e5OFmiC09138@vindaloo.ras.ucalgary.ca> <20000624085414.C25102@fruits.uzix.org>
Sender: owner-netdev@xxxxxxxxxxx
Philipp Rumpf writes:
> > Or why not use smp_call_function()?
> 
> because the IPI smp_call_function uses might hit between the
> MOD_DEC_USE_COUNT that sets the module use count to zero and the
> return from module code.  That would mean the interrupted CPU would
> return to nonexistent code afterwards and in all likelyhood cause an
> Oops.

But you could use it to launch the kernel threads, right?

> > Just move it from the i386 tree to the generic tree.
> 
> It's been generic for some time.

I only see it in the i386 and alpha arch trees. It may not be i386
specific anymore, but it isn't generic :-)

                                Regards,

                                        Richard....
Permanent: rgooch@xxxxxxxxxxxxx
Current:   rgooch@xxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>