On Wed, 12 May 1999, Mike Smith wrote:
> >   This option should automatically select the appropriate sources
> >   which is compiled into kernel, according to the source is needed
> >   only in UP case, or only in SMP case, or both. This is what
> >   oldconfig and newconfig does.
> 
> This is, again, defective reasoning.
> 
> For a usable dynamic architecture, loadable modules need to be compiled 
> to support both UP and SMP architectures simultaneously.  Thus the 
> locking primitives need to be conditionalised at _runtime_.

Or, alternately, at load time by choosing the appropriate subsystem to
match the hardware.

It is clearly possible to arrange that lowest-common-denominator code
is initially loaded and then replaced with a configuration optimized
version.
The "configuration" at compile time is in the Makefile to cause, when
appropriate, the various versions to be compiled from common code. 



To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to