Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Dec 1996 13:44:18 -0700
From:      Steve Passe <smp@csn.net>
To:        Chris Csanady <ccsanady@friley216.res.iastate.edu>
Cc:        freebsd-smp@freefall.freebsd.org
Subject:   Re: cvs commit: sys/i386/include pmap.h 
Message-ID:  <199612022044.NAA22589@clem.systemsix.com>
In-Reply-To: Your message of "Mon, 02 Dec 1996 14:27:38 CST." <199612022027.OAA04003@friley216.res.iastate.edu> 

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

> >The next step would be to break up files that have grown to have alot
> >of SMP stuff mixed with standard stuff, eg. init_main.c -> init_main.c &
> >init_smp.c.  Stated another way, I think we should strive to keep SMP changes
> >localized to SMP specific files to the extent that it is practical.
> 
> For now perhaps.  But wouldn't the end goal be to have the UP instance just
> 1 processor SMP case?  Im thinking that this would make the code cleaner, and
> more generic in the end.  I think having kernel threads would be well worth
> it.

Long term, I think I agree, I go back and forth on just what the model
should look like.  For the short term I have many reasons for my
"minimal impact" model:

  making an SMP kernel that boots & runs on a uniprocessor board is currently
impossible for a lot of 'architectural' reasons, ie alot would have to change
in the mainline code to make this work.  Look at how we pervert things
like curproc for an example.

  such a model allows us to arrive at a starting point from which everyone
can view what is done to support SMP, without changing the code base in
which they feel comfortable.

  we don't upset -current devvelopers who are unconcerned about SMP by changing
the areas they are working on.

  we don't bog down in 'political' battles about what should change and why.

--
Steve Passe	| powered by
smp@csn.net	|            FreeBSD

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.2

mQCNAzHe7tEAAAEEAM274wAEEdP+grIrV6UtBt54FB5ufifFRA5ujzflrvlF8aoE
04it5BsUPFi3jJLfvOQeydbegexspPXL6kUejYt2OeptHuroIVW5+y2M2naTwqtX
WVGeBP6s2q/fPPAS+g+sNZCpVBTbuinKa/C4Q6HJ++M9AyzIq5EuvO0a8Rr9AAUR
tBlTdGV2ZSBQYXNzZSA8c21wQGNzbi5uZXQ+
=ds99
-----END PGP PUBLIC KEY BLOCK-----




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612022044.NAA22589>