netdev
[Top] [All Lists]

Re: modular net drivers

To: Richard Gooch <rgooch@xxxxxxxxxxxxxxx>
Subject: Re: modular net drivers
From: Philipp Rumpf <prumpf@xxxxxxxx>
Date: Sat, 24 Jun 2000 08:54:14 -0700
Cc: Andrew Morton <andrewm@xxxxxxxxxx>, Rusty Russell <rusty@xxxxxxxxxxxxxxxx>, Keith Owens <kaos@xxxxxxxxxx>, Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>, "netdev@xxxxxxxxxxx" <netdev@xxxxxxxxxxx>
In-reply-to: <200006241548.e5OFmiC09138@vindaloo.ras.ucalgary.ca>
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>
Sender: owner-netdev@xxxxxxxxxxx
> 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.

> Just move it from the i386 tree to the generic tree.

It's been generic for some time.

        Philipp Rumpf

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