Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 May 1999 19:44:07 -0500 (CDT)
From:      Richard Wackerbarth <rkw@dataplex.net>
To:        Mike Smith <mike@smith.net.au>
Cc:        Noriyuki Soda <soda@sra.co.jp>, Poul-Henning Kamp <phk@critter.freebsd.dk>, Tomoaki NISHIYAMA <tomoaki@biol.s.u-tokyo.ac.jp>, rwhitesel@nbase-xyplex.com, current@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/pci pcisupport.c 
Message-ID:  <Pine.BSF.4.05.9905121935270.1377-100000@nomad.dataplex.net>
In-Reply-To: <199905122229.PAA01663@dingo.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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 majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9905121935270.1377-100000>