Re: CONFIG_SMP patch available for 2.1.54

Michael Elizabeth Chastain (mec@shout.net)
Tue, 9 Sep 1997 15:04:16 -0500


Janos Farkas wrote:

> There should probably be a way to move the module versioning into the
> link stage. In the worst case, it would then cause relinking all modules
> (or "re-hinting" them with versions), it looks much more reasonable
> than recompiling most of the kernel because of a dummy change in an
> essential file.

I think so too. I've tried to design a system without .ver files and
I can't quite get it to work.

Th point of versioning is to get type checking of parameters at insmod
time. All the type information needed is available at the time that
each file, resident or module, is compiled, so .ver files shouldn't
be necessary to carry this type information around.

In fact g++ name mangling does the same job but it's not easy to
control in the way we need it too.

Michael Chastain
<mailto:mec@shout.net>
"love without fear"