Re: [PATCH] Serial driver size reducing (2.3.29)

Peter Samuelson (peter@wire.cadcamlab.org)
13 Dec 1999 10:18:31 -0600


[Keith Owens <kaos@ocs.com.au>]
> The difference is when __init* is called. Initialization code
> compiled into the kernel is guaranteed to be called only once then
> discarded. Code in lower level modules like 8390.o is called every
> time a higher level module like ne.o is loaded, which can be more
> than once.

Anything relying on *that* is already broken and needs to be fixed:
think of compiling 8390 into the kernel and having a modular ne and
3c503.

Ted made the good point that some code may be making assumptions and
marking things __init* which are also needed on module unload. This is
the only case to worry about, though -- the other is *already* broken.

Peter

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