Re: Module Versioning Problems: Time for /proc/smp

Jacques Gelinas (jack@solucorp.qc.ca)
Mon, 16 Sep 1996 10:44:05 -0400 (EDT)


On Mon, 16 Sep 1996, Alan Cox wrote:

> > In an SMP kernel 'smp_num_cpus' is a _variable_, in non-SMP kernel it is
> > a '#define smp_num_cpus 1', it is neither in ksyms nor can it be
> > checked in a module or insmod.
> >
> > Really, it would be good to have it as _variable_ in both kernel types.
>
> No it wouldn't. Not from a compiler output and performance viewpoint. The
> bug is in the module stuff failing to discover a difference. We just need
> a way to help it along

Is it time for /proc/smp. I can include this in my patch (_R vs _S for
name mangling).

Which information should /proc/smp contains ?

--------------------------------------------------------
Jacques Gelinas (jacques@solucorp.qc.ca)
Linuxconf: The ultimate administration system for Linux.
see http://www.solucorp.qc.ca:/linuxconf