Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Aug 2002 14:12:48 -0700
From:      "Chad R. Larson" <chad@DCFinc.com>
To:        kpieckiel@smartrafficenter.org
Cc:        Bosko Milekic <bmilekic@unixdaemons.com>, Mario Pranjic <mario.pranjic@irb.hr>, freebsd-stable@FreeBSD.ORG
Subject:   Re: SMP kernel: FreeBSD vs. Linux 2.4.x
Message-ID:  <20020809141248.C14518@freeway.dcfinc.com>
In-Reply-To: <20020809164411.GC78503@pacer.dmz.smartrafficenter.org>; from kpieckiel-freebsd-stable@smartrafficenter.org on Fri, Aug 09, 2002 at 12:44:11PM -0400
References:  <Pine.GSO.4.32.0208091409570.6242-100000@nippur.irb.hr> <20020809091008.A87124@unixdaemons.com> <20020809164411.GC78503@pacer.dmz.smartrafficenter.org>

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

--vtzGhvizbBRQ85DL
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Fri, Aug 09, 2002 at 12:44:11PM -0400, Kevin A. Pieckiel wrote:
> But why was the kernel not threaded from the start?  Threads aren't a
> new concept, and when FreeBSD was born, it would make sense to
> consider the advantages threads bring to userland code when
> determining how the future of the kernel will unravel.  Those
> advantages would seem desirable for the kernel as well, would they
> not?  Again, I speak from ignorance of the internal workings/structure
> of the kernel.  I'm not trying to fault anyone for these early
> decisions, just get a clearer picture of why it was developed this
> way.

Because FreeBSD wasn't developed from scratch in the current
millennium.  It is a direct, linear descendant from Bell Labs Unix
that escaped and entered academia at Berkeley.

Good news:  About 13 years of continual development and bug fixes
makes for one =very= stable system.

Bad news:  Not everything is state of the art.

The Great Big Lock was implemented because it was the fastest way to
get SMP running with the existing kernel code.  Otherwise you have
to worry about things like interrupts going off that were waited for
by sleeping code, and what to do with the current context, etc. etc.

	-crl
--
Chad R. Larson (CRL15)   602-953-1392   Brother, can you paradigm?
chad@dcfinc.com         chad@larsons.org          larson1@home.com
DCF, Inc. - 14623 North 49th Place, Scottsdale, Arizona 85254-2207

--vtzGhvizbBRQ85DL
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: lOIgvDd3JkMlf5zuwCBCY7xKxfKPQa9X

iQA/AwUBPVQwTInljHhlkExeEQKwJQCgkGmDGvZ23QW6lnUP3jN4qdMgIPcAn0SP
1tgrUAh0qqQePuDJPvB/kEuA
=gQ1I
-----END PGP SIGNATURE-----

--vtzGhvizbBRQ85DL--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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